Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 199.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 63.91 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.6929, allocations: 151.6 MB / 1.017 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002896/0.6958, allocations: 1.485 MB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.6971, allocations: 0.7362 MB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.6972, allocations: 4 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.6973, allocations: 3.938 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.6973, allocations: 15.86 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.6979, allocations: 119.6 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.338e-05/0.698, allocations: 79.72 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.632e-05/0.6981, allocations: 11.98 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.672e-05/0.6982, allocations: 39.91 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.6982, allocations: 35.84 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.6983, allocations: 4 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.6985, allocations: 99.84 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.6985, allocations: 27.89 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.6986, allocations: 27.86 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.6988, allocations: 137.6 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6988, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6988, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.6988, allocations: 0 / 1.02 GB, free: 15.77 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.0005709/0.6994, allocations: 426.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.6994, allocations: 8.031 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.6995, allocations: 12.83 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.6996, allocations: 168.4 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.6996, allocations: 4.375 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.6996, allocations: 8.375 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.6998, allocations: 73.91 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6998, allocations: 4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.6998, allocations: 4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6998, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.7, allocations: 35.97 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.7005, allocations: 320.6 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.7007, allocations: 58.48 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.863e-05/0.7008, allocations: 32.97 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.7008, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.701, allocations: 75.38 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 3.136e-06/0.701, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003737/0.7014, allocations: 153.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.7014, allocations: 59.41 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.7015, allocations: 117.8 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.7015, allocations: 29.7 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.7016, allocations: 84.14 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.7016, allocations: 15.81 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.7017, allocations: 29.7 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7018, allocations: 334.7 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.7019, allocations: 19.98 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.824e-05/0.702, allocations: 50.55 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.7021, allocations: 66.5 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.7021, allocations: 8 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000232/0.7024, allocations: 109.5 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.7024, allocations: 8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.7024, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.7024, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.7025, allocations: 11.98 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.7025, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.7026, allocations: 15.84 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.7026, allocations: 12.05 kB / 1.022 GB, free: 13.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,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 8.207e-05/0.7027, allocations: 123.2 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.7027, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.7028, allocations: 8.375 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.7028, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.7028, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.7028, allocations: 3.938 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.7032, allocations: 386.4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7032, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.7033, allocations: 11.92 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.7033, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.7033, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7033, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7033, allocations: 3.938 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.7036, allocations: 211.5 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.7036, allocations: 81.02 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.7037, allocations: 4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.7037, allocations: 11.98 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.7038, allocations: 7.938 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.7038, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.7039, allocations: 95.27 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7039, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002888/0.7042, allocations: 39.98 kB / 1.023 GB, free: 12.13 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 (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.0003044/0.7045, allocations: 175 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.7047, allocations: 75.88 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7047, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.361e-05/0.7048, allocations: 40.11 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.7051, allocations: 5.406 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.7054, allocations: 176.4 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.7057, allocations: 0.6923 MB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.7057, allocations: 7.984 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.7058, allocations: 15.38 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7058, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of Templates: time 0.003852/0.7096, allocations: 1.451 MB / 1.026 GB, free: 9.453 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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