Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001442/0.001442, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.001696/0.001696, allocations: 158.8 kB / 23.01 MB, free: 4.961 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.747/2.747, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 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.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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") [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.002166/0.002166, allocations: 69.77 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3713, allocations: 169.9 MB / 1.117 GB, free: 2.621 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.004601/0.3759, allocations: 1.524 MB / 1.119 GB, free: 1.086 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.3782, allocations: 0.7596 MB / 1.12 GB, free: 328 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.3782, allocations: 0 / 1.12 GB, free: 328 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.754e-05/0.3783, allocations: 7.922 kB / 1.12 GB, free: 320 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.319e-05/0.3784, allocations: 11.88 kB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009401/0.3793, allocations: 147.5 kB / 1.12 GB, free: 160 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.3795, allocations: 75.77 kB / 1.12 GB, free: 84 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3796, allocations: 12.19 kB / 1.12 GB, free: 72 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.3798, allocations: 43.83 kB / 1.12 GB, free: 28 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.38, allocations: 35.89 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.3801, allocations: 8 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.3805, allocations: 139.7 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.3806, allocations: 19.92 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.341e-05/0.3806, allocations: 23.92 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.3811, allocations: 155.5 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3811, allocations: 4 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3811, allocations: 0 / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3811, allocations: 4 kB / 1.12 GB, free: 15.64 MB / 1.076 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.0008358/0.3819, allocations: 343.6 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.382, allocations: 8.031 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005031/0.3825, allocations: 32.86 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.3828, allocations: 131.3 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.3828, allocations: 8.312 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.3828, allocations: 8.375 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.3831, allocations: 69.78 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3831, allocations: 0 / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3831, allocations: 0 / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3831, allocations: 4 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.3833, allocations: 35.97 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.3841, allocations: 248.5 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3843, allocations: 54.47 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3845, allocations: 32.97 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.3845, allocations: 4 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.3847, allocations: 71.38 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.3847, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0006144/0.3854, allocations: 149.5 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.3854, allocations: 55.41 kB / 1.122 GB, free: 14.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3856, allocations: 128.9 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.3856, allocations: 29.64 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.3857, allocations: 100.2 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.3857, allocations: 19.83 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.3858, allocations: 29.66 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002343/0.3861, allocations: 326.8 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3862, allocations: 23.98 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3863, allocations: 54.48 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.3866, allocations: 70.5 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3866, allocations: 4 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004198/0.387, allocations: 109.5 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.387, allocations: 4 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3871, allocations: 0 / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.3871, allocations: 4 kB / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.3872, allocations: 15.98 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3872, allocations: 0 / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3873, allocations: 7.984 kB / 1.122 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.3874, allocations: 8.062 kB / 1.122 GB, free: 13.3 MB / 1.076 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.0001614/0.3875, allocations: 121.7 kB / 1.123 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.3875, allocations: 7.953 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.3876, allocations: 12.44 kB / 1.123 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3876, allocations: 0 / 1.123 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3876, allocations: 0 / 1.123 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3876, allocations: 3.984 kB / 1.123 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007095/0.3883, allocations: 334 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3883, allocations: 0 / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.3884, allocations: 12 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3884, allocations: 0 / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3884, allocations: 3.938 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3884, allocations: 0 / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3884, allocations: 3.984 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.3889, allocations: 215.4 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.3889, allocations: 0 / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.3889, allocations: 8 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.389, allocations: 3.984 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.3891, allocations: 8 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3891, allocations: 11.92 kB / 1.123 GB, free: 12.51 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.253e-05/0.3892, allocations: 95.2 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3892, allocations: 0 / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005537/0.3897, allocations: 35.94 kB / 1.123 GB, free: 12.38 MB / 1.076 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.0005138/0.3903, allocations: 163.3 kB / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.3906, allocations: 83.86 kB / 1.123 GB, free: 12.15 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3906, allocations: 0 / 1.123 GB, free: 12.15 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.3908, allocations: 27.98 kB / 1.124 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.3912, allocations: 11.98 kB / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.3918, allocations: 180.6 kB / 1.124 GB, free: 11.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.3919, allocations: 87.33 kB / 1.124 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.208e-05/0.392, allocations: 7.938 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.392, allocations: 16.5 kB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.392, allocations: 0 / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of Templates: time 0.006797/0.3988, allocations: 1.47 MB / 1.125 GB, free: 10.32 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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: 8.780643417034298]