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.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.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.0007855/0.0007853, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008882/0.0008882, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.332 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.536/2.536, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003616, allocations: 11.94 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6294/0.6297, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002196/0.632, allocations: 1.227 MB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.6336, allocations: 0.713 MB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.6337, allocations: 4 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.6337, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.6338, allocations: 11.86 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.6345, allocations: 111.7 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.6346, allocations: 71.81 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.6348, allocations: 8 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.6349, allocations: 27.92 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.508e-05/0.635, allocations: 39.81 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.635, allocations: 4 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.6352, allocations: 91.84 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.6353, allocations: 15.92 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.6354, allocations: 57.55 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.6356, allocations: 97.8 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6356, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.875e-06/0.6356, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6356, allocations: 0 / 1.026 GB, free: 13.39 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.0006613/0.6363, allocations: 409 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.6363, allocations: 12.03 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.6364, allocations: 8.844 kB / 1.027 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.6365, allocations: 180.1 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.6366, allocations: 4.375 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.6366, allocations: 8.375 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.6368, allocations: 73.95 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.6368, allocations: 0 / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.6368, allocations: 0 / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.6369, allocations: 7.984 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.637, allocations: 39.98 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.6376, allocations: 328.6 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.6378, allocations: 50.56 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.963e-05/0.6379, allocations: 36.97 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.6379, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.6381, allocations: 87.28 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.6382, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004061/0.6386, allocations: 145.6 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.6386, allocations: 55.41 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.6387, allocations: 133.7 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.6388, allocations: 25.7 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.6388, allocations: 92.14 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.6389, allocations: 11.8 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.6389, allocations: 17.72 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.639, allocations: 326.8 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.339e-05/0.6391, allocations: 27.98 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.87e-05/0.6392, allocations: 54.55 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.6394, allocations: 78.5 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6394, allocations: 7.938 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002462/0.6396, allocations: 121.8 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6397, allocations: 6.188 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.6397, allocations: 4 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6397, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.6398, allocations: 11.98 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.6398, allocations: 8.141 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.6399, allocations: 11.88 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.6399, allocations: 11.97 kB / 1.028 GB, free: 10.8 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 9.271e-05/0.64, allocations: 125.8 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.64, allocations: 7.906 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.6401, allocations: 4.375 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6401, allocations: 0 / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6401, allocations: 0 / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.6401, allocations: 11.98 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.6405, allocations: 382.4 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.6405, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.6406, allocations: 7.984 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6406, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.6406, allocations: 4 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6406, allocations: 8 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6406, allocations: 3.938 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.6409, allocations: 219.4 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.641, allocations: 81.02 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.641, allocations: 4 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.6411, allocations: 11.98 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.6411, allocations: 7.875 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.6411, allocations: 4 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.6412, allocations: 95.27 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6412, allocations: 0 / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000288/0.6415, allocations: 35.98 kB / 1.029 GB, free: 9.707 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.0003624/0.6419, allocations: 167.8 kB / 1.03 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.6421, allocations: 75.91 kB / 1.03 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6421, allocations: 0 / 1.03 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.6422, allocations: 44.09 kB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.6425, allocations: 4 kB / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.6429, allocations: 226.9 kB / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.6432, allocations: 0.6965 MB / 1.031 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.6432, allocations: 11.44 kB / 1.031 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.6432, allocations: 0 / 1.031 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.00335/0.6466, allocations: 1.604 MB / 1.032 GB, free: 6.832 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/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