Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.001787/0.001787, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001837/0.001837, allocations: 186 kB / 20.78 MB, free: 1.547 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.506/1.506, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.016/3.016, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.91 kB / 1.107 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278/1.28, allocations: 168.7 MB / 1.272 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003622/1.283, allocations: 1.523 MB / 1.273 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001582/1.285, allocations: 0.7388 MB / 1.274 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/1.285, allocations: 5.031 kB / 1.274 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.505e-05/1.285, allocations: 3.938 kB / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/1.285, allocations: 14.66 kB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/1.286, allocations: 126.2 kB / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/1.286, allocations: 77.61 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/1.286, allocations: 7.844 kB / 1.274 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/1.286, allocations: 35.7 kB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/1.286, allocations: 36.62 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/1.286, allocations: 11.06 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/1.286, allocations: 103.8 kB / 1.275 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/1.286, allocations: 20.38 kB / 1.275 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/1.286, allocations: 34.31 kB / 1.275 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/1.287, allocations: 140.9 kB / 1.275 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.287, allocations: 0.9688 kB / 1.275 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.335e-06/1.287, allocations: 0 / 1.275 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.146e-05/1.287, allocations: 3.938 kB / 1.275 GB, free: 6.344 MB / 0.9981 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.000644/1.287, allocations: 416.3 kB / 1.275 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.287, allocations: 13.31 kB / 1.275 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/1.287, allocations: 7.859 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.787e-05/1.288, allocations: 177.8 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/1.288, allocations: 10.39 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/1.288, allocations: 4.375 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/1.288, allocations: 69.09 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.288, allocations: 1 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/1.288, allocations: 4 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/1.288, allocations: 1.062 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/1.288, allocations: 39.47 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/1.289, allocations: 312.4 kB / 1.276 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/1.289, allocations: 45.94 kB / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/1.289, allocations: 39.45 kB / 1.276 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/1.289, allocations: 0.75 kB / 1.276 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/1.289, allocations: 84.55 kB / 1.276 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/1.289, allocations: 0 / 1.276 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004208/1.289, allocations: 138 kB / 1.276 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/1.289, allocations: 55.52 kB / 1.276 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/1.29, allocations: 133.5 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/1.29, allocations: 26.7 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/1.29, allocations: 89.3 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/1.29, allocations: 15.47 kB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/1.29, allocations: 29.55 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.176e-05/1.29, allocations: 323.6 kB / 1.277 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.201e-05/1.29, allocations: 22.83 kB / 1.277 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.542e-05/1.29, allocations: 51.66 kB / 1.277 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/1.29, allocations: 72 kB / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.29, allocations: 0 / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002343/1.29, allocations: 120.2 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.29, allocations: 5.625 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.29, allocations: 3.625 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.29, allocations: 0.875 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/1.29, allocations: 13.84 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.29, allocations: 0.9688 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.309e-05/1.291, allocations: 5.719 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/1.291, allocations: 7.891 kB / 1.277 GB, free: 4.359 MB / 0.9981 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 7.65e-05/1.291, allocations: 132.7 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/1.291, allocations: 6.641 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/1.291, allocations: 11.39 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.291, allocations: 0.9375 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.291, allocations: 7.922 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.291, allocations: 2.734 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/1.291, allocations: 377.2 kB / 1.278 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.291, allocations: 0.7812 kB / 1.278 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/1.291, allocations: 8.266 kB / 1.278 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.291, allocations: 4.188 kB / 1.278 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/1.291, allocations: 0.6875 kB / 1.278 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.291, allocations: 0.9062 kB / 1.278 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.291, allocations: 3.938 kB / 1.278 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/1.291, allocations: 215 kB / 1.278 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/1.291, allocations: 79.02 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/1.291, allocations: 3.578 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/1.292, allocations: 6.688 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/1.292, allocations: 13.69 kB / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/1.292, allocations: 2.688 kB / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.278e-05/1.292, allocations: 94.95 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.292, allocations: 0 / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003112/1.292, allocations: 35.88 kB / 1.278 GB, free: 3.5 MB / 0.9981 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.0004071/1.292, allocations: 179.1 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002525/1.293, allocations: 70.11 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.293, allocations: 0 / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/1.293, allocations: 32.84 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/1.293, allocations: 2.781 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/1.293, allocations: 210.6 kB / 1.278 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/1.294, allocations: 0.6875 MB / 1.279 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.935e-05/1.294, allocations: 5.641 kB / 1.279 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/1.294, allocations: 11.06 kB / 1.279 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/1.294, allocations: 0 / 1.279 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.005519/1.299, allocations: 1.472 MB / 1.281 GB, free: 2.324 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.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.739279832690954]