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.004904/0.004904, allocations: 101 kB / 15.88 MB, free: 5.867 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.001185/0.001185, allocations: 192 kB / 16.79 MB, free: 5.809 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.343/1.343, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.581/2.581, allocations: 437 MB / 0.7106 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.89 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5793/0.5807, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002683/0.5835, allocations: 1.562 MB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.5847, allocations: 0.744 MB / 1.02 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.5848, allocations: 3.938 kB / 1.02 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.5848, allocations: 0 / 1.02 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.422e-05/0.5849, allocations: 11.91 kB / 1.02 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.5854, allocations: 107.8 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.577e-05/0.5855, allocations: 63.78 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.546e-05/0.5856, allocations: 19.98 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.5857, allocations: 31.84 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.149e-05/0.5858, allocations: 31.91 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.5858, allocations: 4 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.586, allocations: 91.84 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.586, allocations: 19.91 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.5861, allocations: 27.86 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.5863, allocations: 97.88 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5863, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5863, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.5863, allocations: 0 / 1.02 GB, free: 15.96 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.0006047/0.5869, allocations: 428.8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.5869, allocations: 11.97 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.587, allocations: 8.844 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.5871, allocations: 172.3 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.5871, allocations: 4.375 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.5871, allocations: 384 / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.5873, allocations: 81.91 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.5873, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.5874, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.5874, allocations: 4 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.5875, allocations: 35.97 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.5881, allocations: 316.7 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.5882, allocations: 54.48 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.5883, allocations: 28.97 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.5884, allocations: 4.062 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.5885, allocations: 83.38 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.5885, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003817/0.5889, allocations: 133.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.589, allocations: 59.34 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.465e-05/0.5891, allocations: 121.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.5891, allocations: 25.7 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.5892, allocations: 88.14 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.5892, allocations: 19.8 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.5892, allocations: 33.7 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.5893, allocations: 322.8 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.5894, allocations: 27.92 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.25e-05/0.5895, allocations: 46.55 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.5897, allocations: 78.56 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5897, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002353/0.5899, allocations: 113.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.59, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.59, allocations: 8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.59, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.5901, allocations: 11.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5901, allocations: 4.062 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.5902, allocations: 15.84 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.5902, allocations: 7.984 kB / 1.022 GB, free: 13.41 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.765e-05/0.5903, allocations: 122.2 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.5903, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.5903, allocations: 12.38 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5904, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5904, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5904, allocations: 7.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.5908, allocations: 378.3 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5908, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.5909, allocations: 11.92 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5909, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5909, allocations: 8 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.5909, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5909, allocations: 3.938 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.5912, allocations: 211.4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.5912, allocations: 81.11 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.5913, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.5914, allocations: 11.98 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.5914, allocations: 7.875 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.5914, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.5915, allocations: 95.27 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5915, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002962/0.5918, allocations: 39.98 kB / 1.023 GB, free: 12.32 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.0003177/0.5921, allocations: 163.4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.5923, allocations: 80.16 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5924, allocations: 3.938 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.814e-05/0.5925, allocations: 35.92 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.5927, allocations: 9.828 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.5931, allocations: 223.9 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.5934, allocations: 0.6848 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.5934, allocations: 11.42 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5934, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.003198/0.5966, allocations: 1.612 MB / 1.026 GB, free: 9.457 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches