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.001537/0.001537, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001875/0.001875, allocations: 193.5 kB / 16.13 MB, free: 6.645 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.394/2.394, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6351/0.6363, allocations: 140.3 MB / 0.9489 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001597/0.638, allocations: 0.5971 MB / 0.9495 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.6381, allocations: 42.86 kB / 0.9495 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.6382, allocations: 0 / 0.9495 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.6382, allocations: 0 / 0.9495 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.6384, allocations: 9.312 kB / 0.9495 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.251e-05/0.6384, allocations: 6.734 kB / 0.9495 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.6385, allocations: 13.44 kB / 0.9496 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.6385, allocations: 1.375 kB / 0.9496 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.6386, allocations: 1.375 kB / 0.9496 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.6386, allocations: 13.47 kB / 0.9496 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.6386, allocations: 0 / 0.9496 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-06/0.6387, allocations: 1.375 kB / 0.9496 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.6387, allocations: 13.25 kB / 0.9496 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.6387, allocations: 2.75 kB / 0.9496 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.41e-05/0.6388, allocations: 18.61 kB / 0.9496 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6388, allocations: 1.375 kB / 0.9496 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.32e-07/0.6388, allocations: 0 / 0.9496 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.6388, allocations: 0 / 0.9496 GB, free: 8.777 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.0003077/0.6391, allocations: 334.4 kB / 0.9499 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6392, allocations: 9.625 kB / 0.9499 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.6392, allocations: 2.312 kB / 0.9499 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.6393, allocations: 170.4 kB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.6393, allocations: 1.75 kB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.6393, allocations: 4.375 kB / 0.9501 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.965e-05/0.6394, allocations: 34.38 kB / 0.9501 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.6394, allocations: 192 / 0.9501 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.6394, allocations: 7.938 kB / 0.9501 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6394, allocations: 1.375 kB / 0.9501 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.6395, allocations: 10.67 kB / 0.9502 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.6396, allocations: 153.7 kB / 0.9503 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.165e-05/0.6396, allocations: 21.33 kB / 0.9503 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.6396, allocations: 11.61 kB / 0.9503 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.6396, allocations: 3.984 kB / 0.9503 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.6397, allocations: 31.94 kB / 0.9504 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.6397, allocations: 0 / 0.9504 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001172/0.6398, allocations: 51.17 kB / 0.9504 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.6398, allocations: 52.78 kB / 0.9505 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.6399, allocations: 117 kB / 0.9506 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.6399, allocations: 29.7 kB / 0.9506 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.9e-05/0.6399, allocations: 81.52 kB / 0.9507 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.6399, allocations: 3.906 kB / 0.9507 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.64, allocations: 16.47 kB / 0.9507 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.162e-05/0.64, allocations: 312.2 kB / 0.951 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.64, allocations: 6.734 kB / 0.951 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.6401, allocations: 13.84 kB / 0.951 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.6401, allocations: 32.58 kB / 0.9511 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6401, allocations: 1.375 kB / 0.9511 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.057e-05/0.6402, allocations: 46.05 kB / 0.9511 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.6402, allocations: 5.531 kB / 0.9511 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6402, allocations: 5.312 kB / 0.9511 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.6402, allocations: 1.375 kB / 0.9511 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.6403, allocations: 2.75 kB / 0.9511 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.6403, allocations: 9.375 kB / 0.9511 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.6403, allocations: 0 / 0.9511 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.6403, allocations: 5.375 kB / 0.9511 GB, free: 7.098 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 4.033e-05/0.6404, allocations: 112.6 kB / 0.9512 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.6404, allocations: 9.219 kB / 0.9512 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.031e-05/0.6405, allocations: 56.09 kB / 0.9513 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.6405, allocations: 0 / 0.9513 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6405, allocations: 0 / 0.9513 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6405, allocations: 5.406 kB / 0.9513 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.737e-05/0.6405, allocations: 153.8 kB / 0.9514 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6406, allocations: 1.375 kB / 0.9514 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.6406, allocations: 6.734 kB / 0.9515 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6406, allocations: 0 / 0.9515 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.6406, allocations: 9.25 kB / 0.9515 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6406, allocations: 3.938 kB / 0.9515 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6406, allocations: 1.375 kB / 0.9515 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.558e-05/0.6407, allocations: 77.61 kB / 0.9515 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.6408, allocations: 79.86 kB / 0.9516 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.6408, allocations: 3.938 kB / 0.9516 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.092e-05/0.6408, allocations: 1.375 kB / 0.9516 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.6408, allocations: 1.375 kB / 0.9516 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.6408, allocations: 0 / 0.9516 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.6409, allocations: 95.77 kB / 0.9517 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6409, allocations: 0 / 0.9517 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001891/0.6411, allocations: 2.75 kB / 0.9517 GB, free: 6.441 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 7.281e-05/0.6411, allocations: 102.5 kB / 0.9518 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.885e-05/0.6412, allocations: 17.55 kB / 0.9518 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6412, allocations: 0 / 0.9518 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/0.6412, allocations: 5.5 kB / 0.9518 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.6414, allocations: 5.359 kB / 0.9518 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/0.6416, allocations: 121.3 kB / 0.952 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.084e-05/0.6417, allocations: 0.6783 MB / 0.9526 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.64e-05/0.6417, allocations: 6.312 kB / 0.9526 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.6417, allocations: 8.625 kB / 0.9526 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.6418, allocations: 1.469 kB / 0.9526 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of Templates: time 0.001945/0.6437, allocations: 310.3 kB / 0.9529 GB, free: 5.332 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