Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009168/0.0009169, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.741/2.741, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003739, allocations: 8 kB / 0.8722 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8963/0.8967, allocations: 153.8 MB / 1.022 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002238/0.899, allocations: 1.211 MB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.9006, allocations: 0.6706 MB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.9007, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.9008, allocations: 7.922 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.464e-05/0.9009, allocations: 7.922 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.9015, allocations: 103.8 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.9016, allocations: 67.77 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.9017, allocations: 4 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.9019, allocations: 27.92 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.902, allocations: 43.81 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.902, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.9022, allocations: 83.92 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.9023, allocations: 11.92 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.9023, allocations: 41.69 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.9025, allocations: 101.8 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9025, allocations: 0 / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.138e-06/0.9025, allocations: 0 / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.9026, allocations: 3.938 kB / 1.025 GB, free: 13.71 MB / 0.7794 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.0007819/0.9033, allocations: 408.7 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.9034, allocations: 12.5 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.9035, allocations: 11.89 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.9037, allocations: 171 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.9038, allocations: 4 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.9038, allocations: 7.953 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.9041, allocations: 69.64 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.9041, allocations: 4 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.9042, allocations: 4 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.9042, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.9044, allocations: 47.91 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009252/0.9054, allocations: 320.7 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.9056, allocations: 58.55 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.9057, allocations: 32.97 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.9057, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.9059, allocations: 87.31 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.9059, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006324/0.9066, allocations: 145.6 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.9067, allocations: 55.41 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.9068, allocations: 118.2 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.9069, allocations: 37.7 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.907, allocations: 84.33 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.907, allocations: 23.73 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.9071, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.9073, allocations: 322.8 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.9074, allocations: 23.98 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.9076, allocations: 62.53 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.9077, allocations: 35.98 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9077, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003517/0.9081, allocations: 125.5 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.9081, allocations: 10.03 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9081, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.9081, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.9083, allocations: 8 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.9083, allocations: 7.984 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.437e-05/0.9084, allocations: 11.84 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.9084, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.9086, allocations: 125.8 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.9086, allocations: 7.984 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.9087, allocations: 12.36 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.9087, allocations: 4 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.9087, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9087, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006354/0.9093, allocations: 394.3 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9094, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.9094, allocations: 7.938 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.9094, allocations: 4 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.9095, allocations: 3.984 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.9095, allocations: 0 / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.9095, allocations: 0 / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.9099, allocations: 223.8 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.91, allocations: 77.11 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.91, allocations: 11.92 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.9101, allocations: 4 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.9102, allocations: 3.984 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.9102, allocations: 4 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.777e-05/0.9103, allocations: 95.27 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9103, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005126/0.9108, allocations: 36 kB / 1.028 GB, free: 10.12 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004807/0.9113, allocations: 170.2 kB / 1.028 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.9117, allocations: 79.95 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9117, allocations: 3.938 kB / 1.028 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.9118, allocations: 39.92 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.9122, allocations: 13.66 kB / 1.028 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.9128, allocations: 201.2 kB / 1.028 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.9132, allocations: 0.6848 MB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.011e-05/0.9132, allocations: 8.172 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.9133, allocations: 19.38 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.9133, allocations: 0 / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of Templates: time 0.006514/0.9198, allocations: 1.339 MB / 1.03 GB, free: 7.52 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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