Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example8.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.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 97.78 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.001543/0.001543, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.348 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.567/2.567, allocations: 437.8 MB / 0.7128 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003618, allocations: 12 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6527/0.6531, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0007351/0.6539, allocations: 260.8 kB / 1.024 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.6541, allocations: 15.92 kB / 1.024 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.6541, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.6541, allocations: 3.938 kB / 1.024 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.6543, allocations: 8 kB / 1.024 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.196e-06/0.6543, allocations: 0 / 1.024 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.815e-05/0.6544, allocations: 3.938 kB / 1.024 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.766e-05/0.6544, allocations: 4 kB / 1.024 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.6545, allocations: 7.969 kB / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.6545, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.6546, allocations: 4 kB / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-06/0.6546, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.6546, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.6546, allocations: 29.64 kB / 1.024 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 3.54e-05/0.6547, allocations: 4 kB / 1.024 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6547, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.103e-06/0.6547, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6547, allocations: 0 / 1.024 GB, free: 15.57 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002858/0.655, allocations: 325.1 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.655, allocations: 8.031 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.6551, allocations: 4.938 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.6552, allocations: 164.3 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.6552, allocations: 384 / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.6552, allocations: 384 / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.6553, allocations: 47.98 kB / 1.025 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.6553, allocations: 192 / 1.025 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.6554, allocations: 7.922 kB / 1.025 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.6554, allocations: 0 / 1.025 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.6554, allocations: 7.938 kB / 1.025 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.6556, allocations: 154.6 kB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/0.6557, allocations: 33.28 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.6557, allocations: 17.7 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.6557, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.6557, allocations: 42.5 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.6558, allocations: 3.938 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000154/0.6559, allocations: 45.58 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.656, allocations: 81.09 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.656, allocations: 97.86 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.6561, allocations: 25.7 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.6561, allocations: 80.14 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.6561, allocations: 9.812 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.6562, allocations: 9.719 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6563, allocations: 315.2 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.6563, allocations: 4 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.669e-05/0.6563, allocations: 13.72 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.6564, allocations: 25.64 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6564, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.084e-05/0.6565, allocations: 37.83 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6565, allocations: 8 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.6565, allocations: 7.938 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.6565, allocations: 0 / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.6566, allocations: 11.92 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.6566, allocations: 0 / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.6566, allocations: 0 / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.6567, allocations: 0 / 1.026 GB, free: 13.75 MB / 0.7794 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 7.979e-05/0.6567, allocations: 110.4 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.6568, allocations: 0 / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.6569, allocations: 56.69 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.6569, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6569, allocations: 4 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6569, allocations: 3.984 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.657, allocations: 153.7 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6571, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.6571, allocations: 4 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.6571, allocations: 4 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.6571, allocations: 12 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.6571, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6571, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.002e-05/0.6572, allocations: 69.92 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.6573, allocations: 81.11 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.6573, allocations: 3.938 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.696e-05/0.6573, allocations: 4.031 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.6574, allocations: 3.984 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.6574, allocations: 4 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.6574, allocations: 75.28 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.214e-06/0.6574, allocations: 0 / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001834/0.6576, allocations: 11.88 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001196/0.6577, allocations: 102 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.6578, allocations: 16.03 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6578, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.718e-06/0.6578, allocations: 4 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.658, allocations: 5.703 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.6582, allocations: 117.2 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.6585, allocations: 0.677 MB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.6585, allocations: 7.688 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6585, allocations: 4 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of Templates: time 0.001665/0.6602, allocations: 364.1 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches