Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002226/0.002226, 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.002874/0.002874, 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.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 496.2 MB / 0.7819 GB, free: 12.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235/1.237, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002339/1.239, allocations: 1.52 MB / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001112/1.24, allocations: 0.7439 MB / 1.308 GB, free: 31.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/1.241, allocations: 0 / 1.308 GB, free: 31.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/1.241, allocations: 3.938 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/1.241, allocations: 10.75 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/1.241, allocations: 130.5 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/1.241, allocations: 79.61 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/1.241, allocations: 10.19 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/1.241, allocations: 29.58 kB / 1.308 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/1.242, allocations: 41.28 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/1.242, allocations: 8.531 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/1.242, allocations: 102.6 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/1.242, allocations: 17.78 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/1.242, allocations: 36.92 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/1.242, allocations: 141.2 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.242, allocations: 4 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/1.242, allocations: 0 / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.241e-05/1.242, allocations: 3.281 kB / 1.308 GB, free: 31.66 MB / 1.061 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.0006159/1.243, allocations: 419.6 kB / 1.309 GB, free: 31.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/1.243, allocations: 11.31 kB / 1.309 GB, free: 31.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/1.243, allocations: 7.703 kB / 1.309 GB, free: 31.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/1.243, allocations: 174.7 kB / 1.309 GB, free: 31.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.243, allocations: 10.97 kB / 1.309 GB, free: 31.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/1.243, allocations: 6.938 kB / 1.309 GB, free: 31.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/1.243, allocations: 66.69 kB / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.243, allocations: 2.562 kB / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.243, allocations: 11.25 kB / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.243, allocations: 0 / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/1.243, allocations: 40.8 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/1.244, allocations: 319.8 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/1.244, allocations: 45.48 kB / 1.309 GB, free: 30.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/1.244, allocations: 29.86 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/1.244, allocations: 0 / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/1.244, allocations: 80.36 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/1.244, allocations: 4 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003526/1.245, allocations: 137.2 kB / 1.31 GB, free: 30.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/1.245, allocations: 55.34 kB / 1.31 GB, free: 30.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/1.245, allocations: 129.5 kB / 1.31 GB, free: 30.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/1.245, allocations: 25.7 kB / 1.31 GB, free: 30.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/1.245, allocations: 91.11 kB / 1.31 GB, free: 30.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/1.245, allocations: 18.02 kB / 1.31 GB, free: 30.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/1.245, allocations: 33.67 kB / 1.31 GB, free: 30.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.533e-05/1.245, allocations: 321.2 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/1.245, allocations: 25.61 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/1.245, allocations: 47.17 kB / 1.31 GB, free: 29.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/1.245, allocations: 78.56 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.245, allocations: 2.906 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001939/1.245, allocations: 109.3 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.245, allocations: 6 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.245, allocations: 0 / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.245, allocations: 2.906 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/1.245, allocations: 16.05 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/1.245, allocations: 4.062 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/1.245, allocations: 10.19 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/1.245, allocations: 10.09 kB / 1.31 GB, free: 29.66 MB / 1.061 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 6.597e-05/1.246, allocations: 116.8 kB / 1.311 GB, free: 29.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/1.246, allocations: 7.328 kB / 1.311 GB, free: 29.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/1.246, allocations: 14.62 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/1.246, allocations: 0 / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.246, allocations: 0 / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.246, allocations: 4 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/1.246, allocations: 387.4 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.246, allocations: 0 / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/1.246, allocations: 2.844 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.246, allocations: 2.969 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/1.246, allocations: 3.281 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.246, allocations: 0 / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.246, allocations: 3.938 kB / 1.311 GB, free: 29.17 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/1.246, allocations: 220.9 kB / 1.311 GB, free: 29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/1.246, allocations: 81.06 kB / 1.311 GB, free: 28.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/1.246, allocations: 6.109 kB / 1.311 GB, free: 28.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/1.246, allocations: 3.062 kB / 1.311 GB, free: 28.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/1.246, allocations: 14.23 kB / 1.311 GB, free: 28.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/1.246, allocations: 0 / 1.311 GB, free: 28.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.391e-05/1.246, allocations: 98.22 kB / 1.311 GB, free: 28.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.246, allocations: 4 kB / 1.311 GB, free: 28.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002762/1.247, allocations: 39.34 kB / 1.311 GB, free: 28.8 MB / 1.061 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.0003314/1.247, allocations: 153 kB / 1.312 GB, free: 28.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002248/1.247, allocations: 79.22 kB / 1.312 GB, free: 28.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.247, allocations: 0 / 1.312 GB, free: 28.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/1.247, allocations: 33.73 kB / 1.312 GB, free: 28.67 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/1.248, allocations: 5.328 kB / 1.312 GB, free: 28.67 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/1.248, allocations: 192.8 kB / 1.312 GB, free: 28.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/1.248, allocations: 0.6925 MB / 1.313 GB, free: 27.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.529e-05/1.248, allocations: 20.98 kB / 1.313 GB, free: 27.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/1.248, allocations: 12.28 kB / 1.313 GB, free: 27.79 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/1.248, allocations: 0 / 1.313 GB, free: 27.79 MB / 1.061 GB Notification: Performance of Templates: time 0.004032/1.252, allocations: 1.459 MB / 1.314 GB, free: 27.64 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.923104075714946]