Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001444/0.001444, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001561/0.001561, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.781 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.851/2.851, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] 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.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 67.2 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3742, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003749/0.3779, allocations: 1.504 MB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3799, allocations: 0.7653 MB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.38, allocations: 0 / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.01e-05/0.38, allocations: 7.875 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.3801, allocations: 7.875 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007523/0.3808, allocations: 143.5 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.381, allocations: 79.77 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3811, allocations: 12.11 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3813, allocations: 51.84 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.3813, allocations: 27.91 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3814, allocations: 8 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.3817, allocations: 147.7 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.3817, allocations: 11.92 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.3817, allocations: 27.86 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.382, allocations: 151.5 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3821, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3821, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.3821, allocations: 0 / 1.286 GB, free: 8.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007347/0.3828, allocations: 351.5 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3828, allocations: 12.03 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.3832, allocations: 28.92 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.3835, allocations: 142.3 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.3835, allocations: 8.312 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.3835, allocations: 4.375 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3837, allocations: 69.78 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3838, allocations: 0 / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3838, allocations: 4 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3838, allocations: 4 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.3839, allocations: 35.97 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.3845, allocations: 256.4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.3847, allocations: 46.55 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.3848, allocations: 24.97 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3848, allocations: 0 / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.385, allocations: 83.38 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.385, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004196/0.3854, allocations: 141.5 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.3855, allocations: 59.47 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3856, allocations: 125.1 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3856, allocations: 29.7 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.3857, allocations: 92.09 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.3857, allocations: 19.83 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.3858, allocations: 29.7 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3859, allocations: 322.8 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.386, allocations: 27.98 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.885e-05/0.3861, allocations: 46.55 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3863, allocations: 82.72 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3863, allocations: 0 / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002474/0.3865, allocations: 113.6 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3866, allocations: 11.98 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3866, allocations: 0 / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3866, allocations: 3.938 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.3867, allocations: 11.94 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3867, allocations: 4 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.3868, allocations: 7.984 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3868, allocations: 4 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001265/0.3869, allocations: 121.8 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.3869, allocations: 11.95 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.387, allocations: 8.359 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.387, allocations: 0 / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.387, allocations: 0 / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.387, allocations: 4 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.3874, allocations: 326.1 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3874, allocations: 0 / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.3875, allocations: 4 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3875, allocations: 0 / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3875, allocations: 11.98 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3875, allocations: 4 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3875, allocations: 0 / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3878, allocations: 215.3 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.3878, allocations: 15.88 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3878, allocations: 3.984 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.3879, allocations: 4 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.388, allocations: 7.984 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.388, allocations: 7.938 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.303e-05/0.3881, allocations: 95.27 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3881, allocations: 4 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003265/0.3884, allocations: 35.94 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004016/0.3888, allocations: 167.3 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002897/0.3891, allocations: 76.11 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3891, allocations: 4.125 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.3892, allocations: 28.14 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.3895, allocations: 10.03 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.3899, allocations: 192.7 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.69e-05/0.39, allocations: 75.27 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.39, allocations: 11.94 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.39, allocations: 15.42 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.39, allocations: 0 / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of Templates: time 0.00519/0.3952, allocations: 1.509 MB / 1.291 GB, free: 3.602 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.367610527202487]