Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 160.5 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.787/2.787, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 3.938 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.751e-05/3.96e-05, allocations: 6.281 kB / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.004219/0.004259, allocations: 1.52 MB / 0.9524 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.006298, allocations: 0.799 MB / 0.9532 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.831e-05/0.006396, allocations: 0 / 0.9532 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.006442, allocations: 7.875 kB / 0.9532 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.419e-05/0.006536, allocations: 15.86 kB / 0.9533 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.007459, allocations: 159.3 kB / 0.9534 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.007705, allocations: 111.7 kB / 0.9535 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.007822, allocations: 8 kB / 0.9535 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.008046, allocations: 71.91 kB / 0.9536 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.008159, allocations: 43.88 kB / 0.9536 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.008196, allocations: 8 kB / 0.9536 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.008574, allocations: 143.6 kB / 0.9538 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.008618, allocations: 23.91 kB / 0.9538 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.008703, allocations: 39.89 kB / 0.9538 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.009158, allocations: 195.5 kB / 0.954 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.009163, allocations: 0 / 0.954 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.009164, allocations: 0 / 0.954 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.009171, allocations: 4 kB / 0.954 GB, free: 8.371 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001032/0.0102, allocations: 389.2 kB / 0.9544 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.01026, allocations: 8.031 kB / 0.9544 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006906/0.01095, allocations: 44.84 kB / 0.9544 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.01144, allocations: 141.6 kB / 0.9546 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/0.0115, allocations: 384 / 0.9546 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.01154, allocations: 16.36 kB / 0.9546 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.01197, allocations: 94.06 kB / 0.9547 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.01199, allocations: 192 / 0.9547 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.01201, allocations: 384 / 0.9547 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.01202, allocations: 3.938 kB / 0.9547 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.01224, allocations: 51.95 kB / 0.9547 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000934/0.01318, allocations: 264.5 kB / 0.955 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.01342, allocations: 58.58 kB / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.01359, allocations: 40.84 kB / 0.9551 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.01362, allocations: 0 / 0.9551 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.01391, allocations: 103.4 kB / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.01391, allocations: 0 / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0007502/0.01466, allocations: 197.4 kB / 0.9554 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.01474, allocations: 59.41 kB / 0.9554 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.01489, allocations: 129.8 kB / 0.9556 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.01492, allocations: 33.7 kB / 0.9556 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.01501, allocations: 88.14 kB / 0.9557 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.436e-05/0.01506, allocations: 19.83 kB / 0.9557 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.713e-05/0.01516, allocations: 33.7 kB / 0.9557 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.01534, allocations: 314.8 kB / 0.956 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.01546, allocations: 39.97 kB / 0.9561 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.01559, allocations: 62.16 kB / 0.9561 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.01583, allocations: 92.2 kB / 0.9562 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01583, allocations: 0 / 0.9562 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003556/0.01619, allocations: 141.4 kB / 0.9563 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.01621, allocations: 4 kB / 0.9563 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01621, allocations: 4 kB / 0.9563 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.01623, allocations: 0 / 0.9563 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.01635, allocations: 19.92 kB / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.01636, allocations: 0 / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/0.01646, allocations: 11.95 kB / 0.9564 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.01648, allocations: 4.312 kB / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001382/0.01662, allocations: 131.5 kB / 0.9565 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.01665, allocations: 11.89 kB / 0.9565 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.01668, allocations: 12.44 kB / 0.9565 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01668, allocations: 0 / 0.9565 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.01669, allocations: 4.062 kB / 0.9565 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01669, allocations: 0 / 0.9565 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.01736, allocations: 374 kB / 0.9569 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01736, allocations: 3.938 kB / 0.9569 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.0174, allocations: 7.984 kB / 0.9569 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.01741, allocations: 8 kB / 0.9569 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.01742, allocations: 4 kB / 0.9569 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01742, allocations: 0 / 0.9569 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01743, allocations: 0 / 0.9569 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.01791, allocations: 263.3 kB / 0.9572 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.01793, allocations: 3.953 kB / 0.9572 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.01795, allocations: 4 kB / 0.9572 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.01807, allocations: 11.97 kB / 0.9572 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.01813, allocations: 15.98 kB / 0.9572 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.01814, allocations: 3.984 kB / 0.9572 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.945e-05/0.01821, allocations: 97.52 kB / 0.9573 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01821, allocations: 0 / 0.9573 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003645/0.01858, allocations: 51.81 kB / 0.9573 GB, free: 4.691 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004823/0.01906, allocations: 157.4 kB / 0.9575 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003763/0.01943, allocations: 91.89 kB / 0.9576 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01944, allocations: 0 / 0.9576 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.01961, allocations: 47.91 kB / 0.9576 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.01993, allocations: 15.86 kB / 0.9576 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.02054, allocations: 193.5 kB / 0.9578 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.484e-05/0.02062, allocations: 79.33 kB / 0.9579 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.656e-05/0.02067, allocations: 7.984 kB / 0.9579 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.02071, allocations: 12.5 kB / 0.9579 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of SimCode: time 6.11e-07/0.02071, allocations: 0 / 0.9579 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of Templates: time 0.00581/0.02652, allocations: 1.801 MB / 0.9597 GB, free: 2.281 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.400155134499073]