Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001693/0.001693, 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.00185/0.00185, 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.53/1.53, allocations: 225.6 MB / 249.4 MB, free: 3.172 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 3.03/3.03, allocations: 496.2 MB / 0.7819 GB, free: 12.27 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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 71.89 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303/1.305, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002566/1.307, allocations: 1.519 MB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001241/1.309, allocations: 0.7444 MB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/1.309, allocations: 2.594 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/1.309, allocations: 3.938 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.176e-05/1.309, allocations: 7.875 kB / 1.308 GB, free: 31.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000577/1.309, allocations: 124.7 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/1.309, allocations: 75.12 kB / 1.308 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/1.309, allocations: 17.89 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/1.31, allocations: 33.27 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/1.31, allocations: 41.12 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/1.31, allocations: 6.031 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/1.31, allocations: 103.4 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/1.31, allocations: 14.11 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/1.31, allocations: 35.23 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/1.31, allocations: 150 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.31, allocations: 0 / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/1.31, allocations: 0 / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.47e-06/1.31, allocations: 4 kB / 1.308 GB, free: 31.62 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.0005756/1.311, allocations: 426.4 kB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.311, allocations: 8.719 kB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/1.311, allocations: 11.28 kB / 1.309 GB, free: 31.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/1.311, allocations: 167.2 kB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/1.311, allocations: 7.406 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/1.311, allocations: 3.281 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/1.311, allocations: 79.92 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/1.311, allocations: 0 / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/1.311, allocations: 0 / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.311, allocations: 0 / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/1.312, allocations: 42.08 kB / 1.309 GB, free: 30.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/1.312, allocations: 309.3 kB / 1.309 GB, free: 30.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/1.312, allocations: 54.36 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.058e-05/1.312, allocations: 35.86 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/1.312, allocations: 7.062 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/1.312, allocations: 70.83 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/1.312, allocations: 0 / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.000363/1.313, allocations: 142.7 kB / 1.31 GB, free: 30.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/1.313, allocations: 58.67 kB / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/1.313, allocations: 120.4 kB / 1.31 GB, free: 30.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/1.313, allocations: 32.7 kB / 1.31 GB, free: 30.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/1.313, allocations: 87.47 kB / 1.31 GB, free: 30.15 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/1.313, allocations: 19.36 kB / 1.31 GB, free: 30.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/1.313, allocations: 29.53 kB / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.279e-05/1.313, allocations: 325.1 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/1.313, allocations: 25.81 kB / 1.31 GB, free: 29.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/1.313, allocations: 46.84 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/1.313, allocations: 74.7 kB / 1.31 GB, free: 29.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.313, allocations: 4 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002033/1.314, allocations: 110.5 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.314, allocations: 5.812 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.314, allocations: 0 / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.314, allocations: 2.938 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/1.314, allocations: 12 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.314, allocations: 4.062 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/1.314, allocations: 12.48 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/1.314, allocations: 10.91 kB / 1.31 GB, free: 29.63 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.811e-05/1.314, allocations: 122.9 kB / 1.311 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/1.314, allocations: 14.42 kB / 1.311 GB, free: 29.49 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/1.314, allocations: 14.34 kB / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.314, allocations: 0 / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.314, allocations: 4 kB / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.314, allocations: 0 / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/1.314, allocations: 386.1 kB / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.314, allocations: 0 / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/1.314, allocations: 2.688 kB / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.314, allocations: 3.938 kB / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/1.314, allocations: 6.156 kB / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.314, allocations: 0 / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.314, allocations: 3.938 kB / 1.311 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/1.315, allocations: 205.3 kB / 1.311 GB, free: 28.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/1.315, allocations: 83.97 kB / 1.311 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/1.315, allocations: 2.969 kB / 1.311 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/1.315, allocations: 3.188 kB / 1.311 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/1.315, allocations: 14.3 kB / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/1.315, allocations: 2.844 kB / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.907e-05/1.315, allocations: 95.28 kB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.315, allocations: 0 / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003145/1.315, allocations: 36.56 kB / 1.311 GB, free: 28.78 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.0004403/1.316, allocations: 172.4 kB / 1.312 GB, free: 28.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002437/1.316, allocations: 69.47 kB / 1.312 GB, free: 28.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.316, allocations: 0 / 1.312 GB, free: 28.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/1.316, allocations: 42.97 kB / 1.312 GB, free: 28.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/1.316, allocations: 6.219 kB / 1.312 GB, free: 28.63 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/1.317, allocations: 189.2 kB / 1.312 GB, free: 28.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/1.317, allocations: 0.6867 MB / 1.313 GB, free: 27.78 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.758e-05/1.317, allocations: 8.219 kB / 1.313 GB, free: 27.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/1.317, allocations: 18.02 kB / 1.313 GB, free: 27.77 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/1.317, allocations: 0 / 1.313 GB, free: 27.77 MB / 1.061 GB Notification: Performance of Templates: time 0.00576/1.323, allocations: 1.473 MB / 1.314 GB, free: 27.61 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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: 10.068301353603601]