Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 194.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.784/2.784, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 0.8688 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.7725, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.008862/0.7814, allocations: 4.195 MB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004928/0.7864, allocations: 2.342 MB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000425/0.7869, allocations: 11.94 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.7886, allocations: 0.51 MB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008554/0.7894, allocations: 262.9 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.7905, allocations: 327.4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007883/0.7913, allocations: 0.5605 MB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008033/0.7921, allocations: 421.7 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.7925, allocations: 231.2 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005226/0.793, allocations: 302.9 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.7931, allocations: 32 kB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006145/0.7937, allocations: 283.5 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.7939, allocations: 175.6 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.7942, allocations: 218.9 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009149/0.7951, allocations: 0.6736 MB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7951, allocations: 0 / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7951, allocations: 0 / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.7951, allocations: 4 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001491/0.7966, allocations: 0.7136 MB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.7967, allocations: 16.03 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.798, allocations: 156.3 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.7985, allocations: 324.4 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.7986, allocations: 33.36 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.7987, allocations: 36.38 kB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.7998, allocations: 0.638 MB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.7998, allocations: 3.938 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.885e-05/0.7999, allocations: 19.98 kB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.136e-05/0.8, allocations: 44.62 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009062/0.8009, allocations: 494.1 kB / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004374/0.8053, allocations: 3.428 MB / 1.033 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000809/0.8062, allocations: 374.1 kB / 1.033 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.8065, allocations: 179.6 kB / 1.033 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.8065, allocations: 15.95 kB / 1.033 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.8066, allocations: 38.56 kB / 1.033 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.435e-06/0.8066, allocations: 0 / 1.033 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.005174/0.8117, allocations: 1.447 MB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.8119, allocations: 81.11 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.8124, allocations: 340.4 kB / 1.035 GB, free: 15.31 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.8124, allocations: 33.7 kB / 1.035 GB, free: 15.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.8126, allocations: 255.3 kB / 1.035 GB, free: 15.02 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.46e-05/0.8127, allocations: 90.73 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.8129, allocations: 98.14 kB / 1.036 GB, free: 14.82 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.8131, allocations: 338.8 kB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.8135, allocations: 190.9 kB / 1.036 GB, free: 14.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.8141, allocations: 347.7 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008392/0.8149, allocations: 0.5513 MB / 1.037 GB, free: 13.26 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.8149, allocations: 4 kB / 1.037 GB, free: 13.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002636/0.8176, allocations: 0.9081 MB / 1.038 GB, free: 12.33 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.8176, allocations: 8.438 kB / 1.038 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.8176, allocations: 4 kB / 1.038 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00251/0.8201, allocations: 0.5087 MB / 1.038 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.8206, allocations: 95.88 kB / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00669/0.8273, allocations: 4.066 MB / 1.043 GB, free: 7.363 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/0.8279, allocations: 47.8 kB / 1.043 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.828, allocations: 23.98 kB / 1.043 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005625/0.8286, allocations: 309.2 kB / 1.043 GB, free: 6.988 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004889/0.8291, allocations: 331.8 kB / 1.043 GB, free: 6.586 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007552/0.8298, allocations: 0.5057 MB / 1.044 GB, free: 6 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.8299, allocations: 0 / 1.044 GB, free: 6 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009874/0.8309, allocations: 0.5455 MB / 1.044 GB, free: 5.449 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8309, allocations: 9.25 kB / 1.044 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.8309, allocations: 8 kB / 1.044 GB, free: 5.434 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.8309, allocations: 11.94 kB / 1.044 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.8314, allocations: 115.8 kB / 1.044 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.8314, allocations: 12 kB / 1.044 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.8318, allocations: 35.98 kB / 1.044 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.8319, allocations: 27.98 kB / 1.044 GB, free: 5.238 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002419/0.8321, allocations: 212.1 kB / 1.045 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.419e-05/0.8322, allocations: 31.77 kB / 1.045 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.8341, allocations: 0.6789 MB / 1.045 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.8341, allocations: 3.984 kB / 1.045 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8341, allocations: 4 kB / 1.045 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8341, allocations: 0 / 1.045 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.8352, allocations: 0.652 MB / 1.046 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.8352, allocations: 7.984 kB / 1.046 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.8354, allocations: 48 kB / 1.046 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.8371, allocations: 401.2 kB / 1.046 GB, free: 3.129 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.8372, allocations: 4 kB / 1.046 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004851/0.842, allocations: 3.766 MB / 1.05 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.842, allocations: 0 / 1.05 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.844, allocations: 0.83 MB / 1.051 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.8442, allocations: 144.6 kB / 1.051 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.8443, allocations: 7.938 kB / 1.051 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.8447, allocations: 39.94 kB / 1.051 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.8448, allocations: 23.97 kB / 1.051 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.8448, allocations: 8 kB / 1.051 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00035/0.8451, allocations: 239 kB / 1.051 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8452, allocations: 0 / 1.051 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009786/0.8461, allocations: 192 kB / 1.052 GB, free: 13.55 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000211/0.8464, allocations: 111.2 kB / 1.052 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.8484, allocations: 1.014 MB / 1.053 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.8484, allocations: 4 kB / 1.053 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008268/0.8493, allocations: 491.2 kB / 1.053 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.8499, allocations: 83.41 kB / 1.053 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.8515, allocations: 0.9013 MB / 1.054 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.8521, allocations: 0.847 MB / 1.055 GB, free: 10 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005503/0.8526, allocations: 143.2 kB / 1.055 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.8527, allocations: 31.44 kB / 1.055 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of SimCode: time 7.72e-07/0.8528, allocations: 4 kB / 1.055 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of Templates: time 0.01507/0.8678, allocations: 7.339 MB / 1.062 GB, free: 2.52 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches