Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006171/0.006171, allocations: 169.5 kB / 16.27 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003433, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6518/0.6522, allocations: 142.4 MB / 0.955 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006216/0.6528, allocations: 265.4 kB / 0.9553 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001595/0.653, allocations: 41.16 kB / 0.9553 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.6531, allocations: 0 / 0.9553 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.6531, allocations: 0 / 0.9553 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.6532, allocations: 1.25 kB / 0.9553 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.095e-05/0.6533, allocations: 14.3 kB / 0.9553 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.899e-05/0.6533, allocations: 12.94 kB / 0.9554 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.6534, allocations: 1.281 kB / 0.9554 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.6535, allocations: 2.594 kB / 0.9554 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.6535, allocations: 17.06 kB / 0.9554 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.6536, allocations: 0 / 0.9554 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.6536, allocations: 1.312 kB / 0.9554 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.6536, allocations: 6.156 kB / 0.9554 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.6537, allocations: 30.75 kB / 0.9554 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.883e-05/0.6537, allocations: 7.375 kB / 0.9554 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6537, allocations: 1.281 kB / 0.9554 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6537, allocations: 4 kB / 0.9554 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.6537, allocations: 0 / 0.9554 GB, free: 7.5 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003363/0.6541, allocations: 334.6 kB / 0.9557 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.6541, allocations: 8.531 kB / 0.9558 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.6542, allocations: 2.375 kB / 0.9558 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.6543, allocations: 172 kB / 0.9559 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.6544, allocations: 4.312 kB / 0.9559 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.6544, allocations: 1.844 kB / 0.9559 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/0.6545, allocations: 41.94 kB / 0.956 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6545, allocations: 4.172 kB / 0.956 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.6545, allocations: 3.938 kB / 0.956 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.6545, allocations: 0 / 0.956 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.6545, allocations: 7.359 kB / 0.956 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.6547, allocations: 153.9 kB / 0.9561 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.004e-05/0.6547, allocations: 21.73 kB / 0.9561 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.6547, allocations: 10.33 kB / 0.9562 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.6548, allocations: 9.516 kB / 0.9562 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.6548, allocations: 30.56 kB / 0.9562 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.6548, allocations: 1.469 kB / 0.9562 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001553/0.6549, allocations: 46.45 kB / 0.9562 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.655, allocations: 52.25 kB / 0.9563 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.6551, allocations: 112.9 kB / 0.9564 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.6551, allocations: 25.7 kB / 0.9564 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.6551, allocations: 89.27 kB / 0.9565 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.6551, allocations: 5.031 kB / 0.9565 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.6552, allocations: 10.5 kB / 0.9565 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.444e-05/0.6552, allocations: 320 kB / 0.9568 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.6552, allocations: 7.109 kB / 0.9568 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.6553, allocations: 13.47 kB / 0.9568 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.6553, allocations: 28.77 kB / 0.9569 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6553, allocations: 1.062 kB / 0.9569 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.836e-05/0.6554, allocations: 45.03 kB / 0.9569 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.6554, allocations: 5.312 kB / 0.9569 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6554, allocations: 4.969 kB / 0.9569 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.6555, allocations: 1.469 kB / 0.9569 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.6555, allocations: 3.531 kB / 0.9569 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.6555, allocations: 0 / 0.9569 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.6556, allocations: 0.9688 kB / 0.9569 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.6556, allocations: 5.125 kB / 0.9569 GB, free: 5.824 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.395e-05/0.6556, allocations: 116.5 kB / 0.9571 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-06/0.6557, allocations: 0.8438 kB / 0.9571 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.854e-05/0.6558, allocations: 60.09 kB / 0.9571 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.6558, allocations: 1.094 kB / 0.9571 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6558, allocations: 256 / 0.9571 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6558, allocations: 0 / 0.9571 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.127e-05/0.6559, allocations: 155 kB / 0.9573 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6559, allocations: 4.969 kB / 0.9573 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.6559, allocations: 11.36 kB / 0.9573 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6559, allocations: 0 / 0.9573 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.656, allocations: 5.094 kB / 0.9573 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.656, allocations: 0 / 0.9573 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.656, allocations: 3.938 kB / 0.9573 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.6561, allocations: 79.56 kB / 0.9574 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.6561, allocations: 82.44 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.6561, allocations: 9.094 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.125e-05/0.6562, allocations: 0.9375 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.6562, allocations: 0.9688 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.6562, allocations: 0.875 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.6562, allocations: 90.64 kB / 0.9575 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6562, allocations: 0 / 0.9575 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001806/0.6564, allocations: 2.625 kB / 0.9575 GB, free: 5.164 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001001/0.6565, allocations: 94.94 kB / 0.9576 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.076e-05/0.6566, allocations: 21.2 kB / 0.9576 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6566, allocations: 0 / 0.9576 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.6566, allocations: 8.781 kB / 0.9577 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.6568, allocations: 8.391 kB / 0.9577 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.657, allocations: 122 kB / 0.9578 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.6572, allocations: 0.6788 MB / 0.9584 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.666e-05/0.6572, allocations: 10.23 kB / 0.9585 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.6572, allocations: 8.5 kB / 0.9585 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6572, allocations: 0 / 0.9585 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of Templates: time 0.002125/0.6593, allocations: 295.7 kB / 0.9587 GB, free: 4.059 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches