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.001108/0.001108, allocations: 107.7 kB / 16.41 MB, free: 6.441 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.001224/0.001224, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.403/2.403, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.12 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8271/0.8285, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002771/0.8313, allocations: 1.498 MB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.8325, allocations: 0.7284 MB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.8326, allocations: 0 / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.8327, allocations: 11.86 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.8327, allocations: 3.938 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.8333, allocations: 127.5 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.8334, allocations: 79.77 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.8335, allocations: 11.98 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.8336, allocations: 31.92 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.8337, allocations: 43.81 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.8337, allocations: 8 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.8339, allocations: 95.84 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.8339, allocations: 11.98 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.834, allocations: 39.8 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.8342, allocations: 147.3 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.8342, allocations: 0 / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.356e-06/0.8342, allocations: 0 / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.8342, allocations: 7.875 kB / 1.17 GB, free: 0.9648 MB / 0.8887 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.0006423/0.8349, allocations: 411 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.8349, allocations: 8.922 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.835, allocations: 12.83 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.8351, allocations: 176.2 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.8351, allocations: 12.38 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.8352, allocations: 4.375 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.8353, allocations: 69.97 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8354, allocations: 0 / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.8354, allocations: 4 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.8354, allocations: 4 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.8355, allocations: 39.91 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.8361, allocations: 320.7 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.8363, allocations: 50.55 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.82e-05/0.8364, allocations: 28.97 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.8364, allocations: 4 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.8366, allocations: 83.25 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.8366, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003732/0.837, allocations: 141.5 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.837, allocations: 51.41 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.8371, allocations: 125.7 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.8371, allocations: 29.7 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.8372, allocations: 92.14 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.8372, allocations: 23.86 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.8373, allocations: 21.72 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8374, allocations: 322.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.8375, allocations: 27.98 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.598e-05/0.8376, allocations: 50.48 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.8377, allocations: 70.56 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8377, allocations: 0 / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002177/0.8379, allocations: 113.5 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.838, allocations: 8 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.838, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.838, allocations: 64 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.8381, allocations: 19.92 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.8381, allocations: 4 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.8382, allocations: 7.922 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.8382, allocations: 4 kB / 1.172 GB, free: 14.43 MB / 0.9044 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 0.0001007/0.8383, allocations: 125.8 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.8383, allocations: 3.906 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.8384, allocations: 8.375 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.8384, allocations: 7.938 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8384, allocations: 3.938 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8384, allocations: 3.984 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.8388, allocations: 382.4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8388, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.8389, allocations: 4 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.8389, allocations: 0 / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.8389, allocations: 4 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8389, allocations: 0 / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8389, allocations: 7.938 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.8392, allocations: 211.3 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.8392, allocations: 85.02 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.8392, allocations: 4 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.8393, allocations: 7.984 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.8394, allocations: 7.938 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.8394, allocations: 7.984 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.209e-05/0.8395, allocations: 91.28 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8395, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000292/0.8398, allocations: 47.92 kB / 1.173 GB, free: 13.33 MB / 0.9044 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.0003401/0.8401, allocations: 158.8 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.8404, allocations: 83.86 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8404, allocations: 0 / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.8405, allocations: 35.92 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.8407, allocations: 8 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.8411, allocations: 210 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.8414, allocations: 0.6925 MB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.8414, allocations: 11.44 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of SimCode: time 1.91e-07/0.8414, allocations: 0 / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.003249/0.8447, allocations: 1.617 MB / 1.176 GB, free: 10.48 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches