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.0009593/0.0009593, allocations: 92.39 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.001065/0.001065, allocations: 180.3 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.363/1.363, 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.546/2.546, allocations: 437.8 MB / 0.7128 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 8 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6253/0.6257, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001834/0.6275, allocations: 1.211 MB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.6289, allocations: 0.7286 MB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.629, allocations: 0 / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.629, allocations: 4 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.751e-05/0.6291, allocations: 11.86 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.6296, allocations: 99.83 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.6298, allocations: 79.72 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.6299, allocations: 7.984 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.63, allocations: 27.91 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.63, allocations: 35.84 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.6301, allocations: 4 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.6303, allocations: 95.84 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.6303, allocations: 15.91 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.6304, allocations: 49.56 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.6306, allocations: 105.8 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6306, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6306, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.6306, allocations: 0 / 1.026 GB, free: 13.42 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.6312, allocations: 409 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.6313, allocations: 8.031 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.6313, allocations: 8.844 kB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.6314, allocations: 172.3 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.6315, allocations: 16.31 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.6315, allocations: 4.375 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.6317, allocations: 73.91 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.6317, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.6318, allocations: 4 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.6318, allocations: 4 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.6319, allocations: 47.95 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.6325, allocations: 320.7 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.6327, allocations: 62.48 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.6328, allocations: 32.97 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.6328, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.633, allocations: 83.28 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.562e-06/0.633, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004063/0.6334, allocations: 141.6 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.6335, allocations: 55.41 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/0.6336, allocations: 125.7 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.6336, allocations: 29.7 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.6337, allocations: 92.14 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.6337, allocations: 15.88 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.6338, allocations: 25.64 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6339, allocations: 322.8 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.634, allocations: 27.98 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.6341, allocations: 50.56 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.6342, allocations: 78.48 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6342, allocations: 4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002495/0.6345, allocations: 121.5 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6345, allocations: 10.28 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6345, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.6345, allocations: 4 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.244e-05/0.6346, allocations: 11.98 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.6347, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.6347, allocations: 16 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.6348, allocations: 8 kB / 1.028 GB, free: 10.83 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.901e-05/0.6349, allocations: 122.2 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.6349, allocations: 11.89 kB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.6349, allocations: 8.375 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.6349, allocations: 3.984 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6349, allocations: 0 / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.6349, allocations: 0 / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.6354, allocations: 386.5 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6354, allocations: 0 / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.6354, allocations: 7.938 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.6354, allocations: 3.984 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.6355, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6355, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.6355, allocations: 3.938 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.6358, allocations: 215.9 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.6358, allocations: 89 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.6359, allocations: 4 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.6359, allocations: 4 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.636, allocations: 15.92 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.636, allocations: 4 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.6361, allocations: 95.86 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6361, allocations: 0 / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003014/0.6364, allocations: 36 kB / 1.029 GB, free: 9.734 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.000365/0.6367, allocations: 166.6 kB / 1.03 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.637, allocations: 79.94 kB / 1.03 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.637, allocations: 0 / 1.03 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.6371, allocations: 39.92 kB / 1.03 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.6374, allocations: 20.5 kB / 1.03 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.6378, allocations: 222.9 kB / 1.03 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.638, allocations: 0.6887 MB / 1.031 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.6381, allocations: 15.44 kB / 1.031 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6381, allocations: 0 / 1.031 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of Templates: time 0.003739/0.6418, allocations: 1.603 MB / 1.032 GB, free: 6.852 MB / 0.7794 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 -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) Reference file matches