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.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.001312/0.001312, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001368/0.001368, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.47/1.47, allocations: 225.6 MB / 249.4 MB, free: 3.281 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 2.904/2.904, allocations: 476.7 MB / 0.7628 GB, free: 15.27 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.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: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.88 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252/1.254, allocations: 168.7 MB / 1.272 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003121/1.257, allocations: 1.516 MB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001446/1.258, allocations: 0.7542 MB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/1.258, allocations: 1 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.231e-05/1.258, allocations: 4.641 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/1.258, allocations: 10.39 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/1.259, allocations: 124.4 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/1.259, allocations: 69.69 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/1.259, allocations: 11.11 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/1.259, allocations: 42.34 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.026e-05/1.259, allocations: 32.7 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/1.259, allocations: 10.94 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/1.26, allocations: 108.3 kB / 1.275 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/1.26, allocations: 14.45 kB / 1.275 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/1.26, allocations: 32.69 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/1.26, allocations: 145.2 kB / 1.275 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.26, allocations: 0 / 1.275 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/1.26, allocations: 1.062 kB / 1.275 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.409e-05/1.26, allocations: 0 / 1.275 GB, free: 6.09 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.0006394/1.261, allocations: 423.7 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.261, allocations: 13.72 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/1.261, allocations: 8.453 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/1.261, allocations: 172.6 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/1.261, allocations: 8.312 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/1.261, allocations: 3.375 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/1.261, allocations: 72.28 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.261, allocations: 4.844 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.261, allocations: 0.8906 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.261, allocations: 1.781 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/1.261, allocations: 39.02 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/1.262, allocations: 319.3 kB / 1.276 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/1.262, allocations: 48.42 kB / 1.276 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.505e-05/1.262, allocations: 26.17 kB / 1.276 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/1.262, allocations: 0.8125 kB / 1.276 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/1.262, allocations: 88.64 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/1.262, allocations: 0 / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004295/1.263, allocations: 134.9 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/1.263, allocations: 57.31 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/1.263, allocations: 123.2 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/1.263, allocations: 26.42 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/1.263, allocations: 93.25 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/1.263, allocations: 12.2 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/1.263, allocations: 28.23 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.095e-05/1.263, allocations: 327.6 kB / 1.277 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/1.263, allocations: 27.45 kB / 1.277 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.332e-05/1.263, allocations: 50.19 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/1.263, allocations: 77.7 kB / 1.277 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.263, allocations: 7.938 kB / 1.277 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002359/1.264, allocations: 112.5 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.264, allocations: 8.188 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.264, allocations: 3.938 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/1.264, allocations: 1.562 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/1.264, allocations: 11.38 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.264, allocations: 3.125 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/1.264, allocations: 11.75 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/1.264, allocations: 8.391 kB / 1.277 GB, free: 4.094 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.299e-05/1.264, allocations: 123.2 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/1.264, allocations: 7.5 kB / 1.277 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/1.264, allocations: 10.89 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/1.264, allocations: 1 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.264, allocations: 1.781 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.264, allocations: 4.969 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/1.264, allocations: 381 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.264, allocations: 1.094 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/1.265, allocations: 9.156 kB / 1.278 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.265, allocations: 0.8438 kB / 1.278 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/1.265, allocations: 4 kB / 1.278 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.265, allocations: 0.9062 kB / 1.278 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.265, allocations: 3.938 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/1.265, allocations: 214.1 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/1.265, allocations: 79.81 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/1.265, allocations: 2.344 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/1.265, allocations: 7.797 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/1.265, allocations: 8.703 kB / 1.278 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/1.265, allocations: 8.109 kB / 1.278 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.512e-05/1.265, allocations: 96.23 kB / 1.278 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.265, allocations: 0.9062 kB / 1.278 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003275/1.265, allocations: 37.89 kB / 1.278 GB, free: 3.242 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.0004121/1.266, allocations: 165.2 kB / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002606/1.266, allocations: 67.41 kB / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.266, allocations: 0 / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/1.266, allocations: 40.17 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/1.266, allocations: 7.953 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/1.267, allocations: 199 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/1.267, allocations: 0.6862 MB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.726e-05/1.267, allocations: 9.656 kB / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/1.267, allocations: 14.86 kB / 1.279 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.267, allocations: 1.094 kB / 1.279 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of Templates: time 0.005292/1.272, allocations: 1.462 MB / 1.281 GB, free: 2.078 MB / 0.9981 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.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.609573458321393]