Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002402/0.002402, allocations: 188.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.749/2.749, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor")
translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 64.08 kB / 1.11 GB, free: 6.348 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8364, allocations: 168.8 MB / 1.274 GB, free: 4.258 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005786/0.8422, allocations: 3.2 MB / 1.277 GB, free: 1.047 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.003376/0.8456, allocations: 1.788 MB / 1.279 GB, free: 15.25 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.8458, allocations: 4 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 0.00115/0.8469, allocations: 354.6 kB / 1.28 GB, free: 14.9 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 0.000696/0.8476, allocations: 207.1 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.8482, allocations: 187.5 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.0004556/0.8487, allocations: 319 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.8491, allocations: 160.8 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.8493, allocations: 143.5 kB / 1.281 GB, free: 13.9 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.8497, allocations: 167.4 kB / 1.281 GB, free: 13.73 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.8497, allocations: 20 kB / 1.281 GB, free: 13.71 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.8502, allocations: 251.5 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.8503, allocations: 111.7 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.8505, allocations: 115.5 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006353/0.8511, allocations: 429.2 kB / 1.282 GB, free: 12.83 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.8511, allocations: 3.984 kB / 1.282 GB, free: 12.82 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 2.014e-06/0.8511, allocations: 0 / 1.282 GB, free: 12.82 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 1.249e-05/0.8511, allocations: 0 / 1.282 GB, free: 12.82 MB / 0.9825 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 59
 * Number of variables: 59
Notification: Performance of Generate backend data structure: time 0.001073/0.8522, allocations: 489.3 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8522, allocations: 8.031 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007665/0.853, allocations: 92.69 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.8534, allocations: 202.1 kB / 1.282 GB, free: 11.99 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.8534, allocations: 16.8 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.8535, allocations: 24.56 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.8542, allocations: 380.7 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.8542, allocations: 3.938 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.8542, allocations: 8 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.8543, allocations: 28.42 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.8548, allocations: 305.5 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.8568, allocations: 1.487 MB / 1.285 GB, free: 9.59 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.8573, allocations: 222.3 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.8575, allocations: 104.8 kB / 1.285 GB, free: 9.258 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.8576, allocations: 15.92 kB / 1.285 GB, free: 9.242 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.8576, allocations: 34.88 kB / 1.285 GB, free: 9.199 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=18): time 1.774e-06/0.8576, allocations: 0 / 1.285 GB, free: 9.199 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=19): time 0.001343/0.859, allocations: 0.7256 MB / 1.286 GB, free: 8.445 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.859, allocations: 51.41 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.8592, allocations: 195.8 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.8593, allocations: 29.7 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.8594, allocations: 168.1 kB / 1.286 GB, free: 7.977 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.8595, allocations: 67.42 kB / 1.286 GB, free: 7.91 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.8596, allocations: 65.67 kB / 1.286 GB, free: 7.84 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001589/0.8597, allocations: 326.8 kB / 1.286 GB, free: 7.512 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.8599, allocations: 115.9 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.8602, allocations: 173.9 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.8606, allocations: 292.2 kB / 1.287 GB, free: 6.902 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.8606, allocations: 0 / 1.287 GB, free: 6.902 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=31) (initialization): time 0.000846/0.8615, allocations: 419.6 kB / 1.287 GB, free: 6.484 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8615, allocations: 8 kB / 1.287 GB, free: 6.477 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8615, allocations: 4.188 kB / 1.287 GB, free: 6.473 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004569/0.8619, allocations: 96.7 kB / 1.287 GB, free: 6.375 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.8622, allocations: 51.95 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.8644, allocations: 1.78 MB / 1.289 GB, free: 4.43 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.8647, allocations: 19.95 kB / 1.289 GB, free: 4.41 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.8647, allocations: 8 kB / 1.289 GB, free: 4.402 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * 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 (26):
 * Single equations (assignments): 25
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(2,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.8649, allocations: 157.8 kB / 1.289 GB, free: 4.238 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.8649, allocations: 15.91 kB / 1.289 GB, free: 4.223 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005651/0.8655, allocations: 307.2 kB / 1.29 GB, free: 3.918 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.8655, allocations: 4 kB / 1.29 GB, free: 3.914 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.8655, allocations: 3.938 kB / 1.29 GB, free: 3.91 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.8655, allocations: 3.938 kB / 1.29 GB, free: 3.906 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.8666, allocations: 0.6592 MB / 1.29 GB, free: 3.191 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8666, allocations: 4 kB / 1.29 GB, free: 3.188 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.8669, allocations: 59.89 kB / 1.29 GB, free: 3.129 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.8669, allocations: 8.062 kB / 1.29 GB, free: 3.121 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.8669, allocations: 7.938 kB / 1.29 GB, free: 3.113 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.8669, allocations: 12.11 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8669, allocations: 0 / 1.291 GB, free: 3.102 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.8676, allocations: 0.5066 MB / 1.291 GB, free: 2.574 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.8677, allocations: 47.89 kB / 1.291 GB, free: 2.527 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.8678, allocations: 8 kB / 1.291 GB, free: 2.52 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.868, allocations: 19.92 kB / 1.291 GB, free: 2.5 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.868, allocations: 7.984 kB / 1.291 GB, free: 2.492 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.868, allocations: 7.984 kB / 1.291 GB, free: 2.484 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0001503/0.8682, allocations: 148 kB / 1.291 GB, free: 2.336 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 9e-08/0.8682, allocations: 0 / 1.291 GB, free: 2.336 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003924/0.8686, allocations: 67.98 kB / 1.291 GB, free: 2.27 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 2 (loa.q[1],loa.q[2])
 * 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 (20):
 * Single equations (assignments): 20
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.8687, allocations: 103.2 kB / 1.291 GB, free: 2.156 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0007952/0.8695, allocations: 410.2 kB / 1.292 GB, free: 1.742 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8695, allocations: 0 / 1.292 GB, free: 1.742 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.8697, allocations: 114.2 kB / 1.292 GB, free: 1.633 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.8701, allocations: 44.05 kB / 1.292 GB, free: 1.594 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.8714, allocations: 0.6314 MB / 1.293 GB, free: 0.9258 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.8719, allocations: 0.7752 MB / 1.293 GB, free: 128 kB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 0.0001699/0.872, allocations: 69.81 kB / 1.293 GB, free: 60 kB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.8721, allocations: 19.44 kB / 1.293 GB, free: 40 kB / 0.9825 GB
Notification: Performance of SimCode: time 4.21e-07/0.8721, allocations: 0 / 1.293 GB, free: 40 kB / 0.9825 GB
Notification: Performance of Templates: time 0.007723/0.8798, allocations: 3.003 MB / 1.296 GB, free: 13.05 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.837348125874996]