Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001803/0.001803, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001433/0.001433, allocations: 222.7 kB / 23 MB, free: 4.914 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.759/2.759, allocations: 476 MB / 0.7707 GB, free: 4.785 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.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") [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.002337/0.002337, allocations: 68.33 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3428, allocations: 170 MB / 1.284 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002797/0.3456, allocations: 1.511 MB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.347, allocations: 0.7575 MB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.3471, allocations: 3.938 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.37e-05/0.3471, allocations: 3.938 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.3472, allocations: 15.86 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.3478, allocations: 143.6 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.3479, allocations: 83.7 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.348, allocations: 8.125 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3482, allocations: 47.89 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.961e-05/0.3482, allocations: 31.84 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.3483, allocations: 8 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.3485, allocations: 139.7 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.3486, allocations: 15.98 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.3486, allocations: 23.86 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3489, allocations: 163.4 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3489, allocations: 4 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3489, allocations: 0 / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3489, allocations: 0 / 1.287 GB, free: 9.078 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.000643/0.3495, allocations: 347.5 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3496, allocations: 8.031 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.3499, allocations: 28.91 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.3501, allocations: 134.9 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.3501, allocations: 8.375 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3502, allocations: 12.36 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3503, allocations: 69.78 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3504, allocations: 0 / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3504, allocations: 7.984 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3504, allocations: 0 / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3505, allocations: 39.91 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.3511, allocations: 248.5 kB / 1.288 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3512, allocations: 46.56 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.3513, allocations: 24.97 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3513, allocations: 4 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.3515, allocations: 79.31 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3515, allocations: 0 / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004519/0.3519, allocations: 145.7 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.352, allocations: 55.39 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3521, allocations: 129.3 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.3521, allocations: 33.7 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.3522, allocations: 88.09 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.3523, allocations: 19.84 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.3523, allocations: 25.7 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.3525, allocations: 326.8 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-05/0.3526, allocations: 23.98 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3527, allocations: 54.48 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.3529, allocations: 74.5 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3529, allocations: 0 / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002428/0.3531, allocations: 113.5 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3531, allocations: 4 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3531, allocations: 400 / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.3531, allocations: 4 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3532, allocations: 15.92 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3533, allocations: 4.062 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.3533, allocations: 4 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3533, allocations: 7.984 kB / 1.289 GB, free: 6.738 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.0001214/0.3535, allocations: 121.8 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.3535, allocations: 11.89 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.3535, allocations: 8.375 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3535, allocations: 0 / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3535, allocations: 0 / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3535, allocations: 0 / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.354, allocations: 338.1 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.354, allocations: 0 / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.354, allocations: 7.984 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.354, allocations: 0 / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3541, allocations: 4 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3541, allocations: 0 / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3541, allocations: 0 / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.3544, allocations: 227.3 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.3544, allocations: 7.891 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3544, allocations: 8 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.3545, allocations: 3.984 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3545, allocations: 4 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.3546, allocations: 15.92 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.658e-05/0.3546, allocations: 87.28 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3546, allocations: 0 / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003087/0.355, allocations: 39.92 kB / 1.29 GB, free: 5.805 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.0004503/0.3554, allocations: 174 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.3557, allocations: 71.89 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3557, allocations: 0 / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3558, allocations: 35.92 kB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3561, allocations: 6.344 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.3565, allocations: 214.5 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.553e-05/0.3566, allocations: 79.39 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.3567, allocations: 11.44 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3567, allocations: 0 / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of Templates: time 0.004004/0.3607, allocations: 1.661 MB / 1.292 GB, free: 3.527 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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: 11.520317906979471]