Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_9_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.007235/0.007235, allocations: 102 kB / 15.73 MB, free: 6.051 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.001662/0.001662, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.239/2.239, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.89 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7973/0.7985, allocations: 140.4 MB / 1.088 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001497/0.8, allocations: 0.5205 MB / 1.088 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001141/0.8001, allocations: 17.94 kB / 1.088 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.8002, allocations: 0 / 1.088 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.8002, allocations: 0 / 1.088 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.8003, allocations: 5.594 kB / 1.088 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.8003, allocations: 1 kB / 1.088 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.8004, allocations: 8.047 kB / 1.088 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.8004, allocations: 7.406 kB / 1.088 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.8005, allocations: 2.812 kB / 1.088 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.667e-05/0.8005, allocations: 5.906 kB / 1.088 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.8005, allocations: 0 / 1.088 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.681e-06/0.8006, allocations: 0 / 1.088 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.387e-06/0.8006, allocations: 1.312 kB / 1.088 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.8006, allocations: 6.359 kB / 1.088 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 4.14e-05/0.8006, allocations: 5.844 kB / 1.088 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8006, allocations: 0.8438 kB / 1.088 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8007, allocations: 0 / 1.088 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.8007, allocations: 1.484 kB / 1.088 GB, free: 5.094 MB / 0.8575 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.000203/0.8009, allocations: 319 kB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.8009, allocations: 14.48 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.8009, allocations: 2.031 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.66e-05/0.801, allocations: 161.8 kB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.801, allocations: 1.5 kB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.801, allocations: 1.75 kB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.623e-05/0.8011, allocations: 48.89 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.8011, allocations: 5.312 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.8011, allocations: 3.938 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.8012, allocations: 0 / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.8012, allocations: 7.891 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.704e-05/0.8013, allocations: 150.7 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.133e-05/0.8013, allocations: 44.53 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.8013, allocations: 16.77 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.8014, allocations: 1.609 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.8014, allocations: 36.2 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8014, allocations: 1.094 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001357/0.8015, allocations: 45.31 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.8016, allocations: 81.3 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.436e-05/0.8016, allocations: 97.52 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.8016, allocations: 29.7 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-06/0.8016, allocations: 80.14 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.8017, allocations: 9.672 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.8017, allocations: 12.8 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.8017, allocations: 312.1 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.8018, allocations: 2.156 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.8018, allocations: 21.12 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.8018, allocations: 15.84 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8018, allocations: 0 / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.367e-05/0.8019, allocations: 44.61 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.8019, allocations: 5.859 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8019, allocations: 8.594 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.8019, allocations: 4.969 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.802, allocations: 3.953 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.802, allocations: 1.578 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.802, allocations: 1.125 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.802, allocations: 1.672 kB / 1.09 GB, free: 3.383 MB / 0.8575 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 3.945e-05/0.8021, allocations: 112.1 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.8021, allocations: 0.75 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/0.8022, allocations: 61.89 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8022, allocations: 1.062 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8022, allocations: 0.7031 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.8022, allocations: 1.125 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.226e-05/0.8023, allocations: 158.4 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8023, allocations: 0.5625 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.8023, allocations: 3.672 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.8023, allocations: 1.062 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.8023, allocations: 5.891 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8023, allocations: 0 / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8023, allocations: 5.406 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.665e-05/0.8024, allocations: 66.31 kB / 1.09 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.8024, allocations: 79.45 kB / 1.09 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.8024, allocations: 5.656 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.493e-05/0.8025, allocations: 5.031 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.8025, allocations: 2.109 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.8025, allocations: 5.344 kB / 1.09 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.438e-05/0.8025, allocations: 77.05 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8025, allocations: 0 / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001765/0.8027, allocations: 4.969 kB / 1.091 GB, free: 2.746 MB / 0.8575 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 8.567e-05/0.8028, allocations: 96 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.777e-05/0.8029, allocations: 6.953 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8029, allocations: 1.312 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.8029, allocations: 12.3 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.803, allocations: 5.828 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001578/0.8032, allocations: 91.5 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.888e-05/0.8033, allocations: 0.6729 MB / 1.091 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.661e-05/0.8033, allocations: 1.891 kB / 1.091 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.8033, allocations: 12.62 kB / 1.091 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.8033, allocations: 4.125 kB / 1.091 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of Templates: time 0.001681/0.805, allocations: 199.9 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches