Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 116.4 kB / 16.37 MB, free: 6 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.001838/0.001838, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.516/2.516, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.36 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2675, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002731/0.2702, allocations: 1.495 MB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2715, allocations: 0.7415 MB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.2716, allocations: 0 / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.2716, allocations: 3.938 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.2717, allocations: 11.88 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.2722, allocations: 119.6 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.2724, allocations: 83.7 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.2725, allocations: 19.98 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.2726, allocations: 31.86 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.2726, allocations: 39.88 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.2726, allocations: 8 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.2728, allocations: 95.84 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.2729, allocations: 19.92 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.2729, allocations: 27.86 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.2731, allocations: 135.6 kB / 1.022 GB, free: 7.004 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2732, allocations: 0 / 1.022 GB, free: 7.004 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2732, allocations: 4 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2732, allocations: 4 kB / 1.022 GB, free: 6.996 MB / 0.795 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.000544/0.2737, allocations: 420.9 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2738, allocations: 12.03 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.2738, allocations: 8.844 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2739, allocations: 176.2 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2739, allocations: 384 / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.274, allocations: 12.31 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.2741, allocations: 73.97 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.2741, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2742, allocations: 3.984 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-06/0.2742, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.2743, allocations: 31.98 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.2749, allocations: 316.8 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.275, allocations: 50.5 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.2751, allocations: 36.97 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.2751, allocations: 0 / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.2753, allocations: 83.44 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2753, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003568/0.2756, allocations: 137.5 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.2757, allocations: 63.39 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.2758, allocations: 117.8 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2758, allocations: 25.7 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.2758, allocations: 88.14 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.2759, allocations: 19.73 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.2759, allocations: 29.7 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.276, allocations: 330.7 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-05/0.2761, allocations: 19.98 kB / 1.024 GB, free: 4.758 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.2762, allocations: 50.98 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.2764, allocations: 82.47 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2764, allocations: 0 / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002463/0.2766, allocations: 117.4 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2767, allocations: 4 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2767, allocations: 0 / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2767, allocations: 4 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.2768, allocations: 8 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2768, allocations: 3.984 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.431e-05/0.2769, allocations: 19.97 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2769, allocations: 4 kB / 1.024 GB, free: 4.445 MB / 0.795 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.741e-05/0.277, allocations: 122.5 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.277, allocations: 4 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.2771, allocations: 12.36 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2771, allocations: 0 / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2771, allocations: 4 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2771, allocations: 0 / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.2775, allocations: 394.6 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2775, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.2776, allocations: 7.984 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2776, allocations: 0 / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2776, allocations: 7.984 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2776, allocations: 0 / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2776, allocations: 3.938 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.2779, allocations: 211.4 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.2779, allocations: 77.11 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.278, allocations: 7.984 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.2781, allocations: 4 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.2781, allocations: 7.938 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.2781, allocations: 7.984 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.293e-05/0.2782, allocations: 95.42 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.944e-06/0.2782, allocations: 0 / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002904/0.2785, allocations: 43.94 kB / 1.025 GB, free: 3.355 MB / 0.795 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.0002924/0.2788, allocations: 154.1 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.279, allocations: 71.89 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.279, allocations: 0 / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/0.2791, allocations: 36.11 kB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.2794, allocations: 11.98 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.2797, allocations: 173.2 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.2799, allocations: 0.6885 MB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.28, allocations: 8 kB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.28, allocations: 15.44 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.28, allocations: 3.938 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of Templates: time 0.003707/0.2837, allocations: 1.454 MB / 1.027 GB, free: 0.7031 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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