Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008624/0.0008624, allocations: 91.92 kB / 16.02 MB, free: 80 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.001347/0.001347, allocations: 181.4 kB / 16.92 MB, free: 6.652 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.281 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.523/2.523, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 12.19 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5677/0.568, allocations: 153.8 MB / 1.024 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001707/0.5698, allocations: 1.223 MB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.5711, allocations: 0.7092 MB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.5712, allocations: 3.938 kB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.5712, allocations: 3.984 kB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.953e-05/0.5713, allocations: 7.938 kB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.5718, allocations: 107.8 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.5719, allocations: 75.72 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.572, allocations: 11.97 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.5721, allocations: 27.92 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.5722, allocations: 35.83 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.5722, allocations: 4 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.5724, allocations: 91.84 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.5725, allocations: 19.92 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.5725, allocations: 53.56 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.5727, allocations: 101.8 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5727, allocations: 0 / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5727, allocations: 0 / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5727, allocations: 0 / 1.026 GB, free: 13.47 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.0005512/0.5733, allocations: 405 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5733, allocations: 12.03 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.5734, allocations: 12.83 kB / 1.027 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.5735, allocations: 172.3 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.5735, allocations: 4.375 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.5735, allocations: 8.312 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.5737, allocations: 77.91 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.5737, allocations: 0 / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.5738, allocations: 0 / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5738, allocations: 0 / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.5739, allocations: 47.97 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.5745, allocations: 328.6 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.5746, allocations: 54.48 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.5747, allocations: 36.97 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.5748, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.5749, allocations: 83.28 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.575, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003937/0.5754, allocations: 149.7 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.5754, allocations: 59.34 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.5755, allocations: 125.7 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.5755, allocations: 33.7 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.5756, allocations: 84.14 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.5756, allocations: 19.8 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.5757, allocations: 17.72 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5758, allocations: 326.8 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.5758, allocations: 23.98 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.042e-05/0.5759, allocations: 50.56 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.5761, allocations: 78.48 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5761, allocations: 4 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002615/0.5764, allocations: 121.5 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5764, allocations: 6.656 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5764, allocations: 3.938 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5765, allocations: 4 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.5766, allocations: 11.98 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5766, allocations: 4.062 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.5767, allocations: 19.94 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.5767, allocations: 0 / 1.028 GB, free: 10.89 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.913e-05/0.5768, allocations: 134 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.5768, allocations: 3.906 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.5768, allocations: 12.38 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5768, allocations: 0 / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5768, allocations: 4 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.5769, allocations: 0 / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.5773, allocations: 382.5 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5773, allocations: 0 / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.5774, allocations: 7.984 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5774, allocations: 3.938 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.5774, allocations: 8 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5774, allocations: 4 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5774, allocations: 3.938 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.5777, allocations: 215.4 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.5777, allocations: 84.95 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.5778, allocations: 4 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.5779, allocations: 11.94 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.5779, allocations: 11.92 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.5779, allocations: 4 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.578, allocations: 95.86 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.578, allocations: 0 / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003003/0.5783, allocations: 39.98 kB / 1.029 GB, free: 9.785 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.0003663/0.5787, allocations: 163.1 kB / 1.03 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.5789, allocations: 71.97 kB / 1.03 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5789, allocations: 0 / 1.03 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.579, allocations: 48.03 kB / 1.03 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.5793, allocations: 8 kB / 1.03 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.5797, allocations: 222.9 kB / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.5799, allocations: 0.6926 MB / 1.031 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.58, allocations: 11.44 kB / 1.031 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.58, allocations: 0 / 1.031 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of Templates: time 0.003421/0.5834, allocations: 1.611 MB / 1.032 GB, free: 6.91 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches