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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001819/0.001819, 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.001962/0.001962, allocations: 195.2 kB / 16.14 MB, free: 6.637 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.573/1.573, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.898/2.898, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 67.89 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6927/0.6955, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001923/0.6974, allocations: 0.5953 MB / 1.017 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000134/0.6976, allocations: 15.91 kB / 1.017 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.6976, allocations: 0 / 1.017 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.6976, allocations: 4 kB / 1.017 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.6978, allocations: 7.922 kB / 1.017 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.725e-06/0.6978, allocations: 0 / 1.017 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.059e-05/0.6979, allocations: 8 kB / 1.017 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.561e-05/0.6979, allocations: 4 kB / 1.017 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.698, allocations: 0 / 1.017 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.698, allocations: 3.984 kB / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.698, allocations: 0 / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.894e-06/0.698, allocations: 0 / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.698, allocations: 4 kB / 1.017 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.6981, allocations: 7.938 kB / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.134e-05/0.6981, allocations: 0 / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6981, allocations: 0 / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6981, allocations: 0 / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6981, allocations: 0 / 1.017 GB, free: 2.152 MB / 0.7637 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.000349/0.6985, allocations: 323.5 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.6985, allocations: 16.02 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.6986, allocations: 0.9375 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.6987, allocations: 168.4 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.6987, allocations: 384 / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.6987, allocations: 4.375 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.6989, allocations: 39.98 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6989, allocations: 4.172 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.6989, allocations: 3.938 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.6989, allocations: 4 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.6989, allocations: 11.92 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.6991, allocations: 158.5 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.008e-05/0.6992, allocations: 37.28 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.6992, allocations: 13.66 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.6992, allocations: 8.047 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.6993, allocations: 30.56 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6993, allocations: 4 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001443/0.6994, allocations: 45.58 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.6995, allocations: 81.11 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/0.6996, allocations: 93.84 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.6996, allocations: 25.7 kB / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.6996, allocations: 88.08 kB / 1.018 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.6997, allocations: 5.875 kB / 1.018 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.6997, allocations: 18.09 kB / 1.018 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6998, allocations: 310.8 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.6999, allocations: 4 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.6999, allocations: 17.7 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.6999, allocations: 17.66 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6999, allocations: 4 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.504e-05/0.7, allocations: 41.77 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.7, allocations: 7.938 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7, allocations: 3.938 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.7001, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.7001, allocations: 7.984 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.7002, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.7002, allocations: 4 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.7002, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 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.654e-05/0.7003, allocations: 109.9 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.7003, allocations: 4 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.7004, allocations: 52.69 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.7005, allocations: 0 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7005, allocations: 0 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.7005, allocations: 0 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.7006, allocations: 153.7 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7006, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.7007, allocations: 8.062 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.7007, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.7007, allocations: 7.875 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.7007, allocations: 4 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7007, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.788e-05/0.7008, allocations: 73.83 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.7009, allocations: 81.11 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.7009, allocations: 11.97 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.528e-05/0.7009, allocations: 0 / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.7009, allocations: 3.984 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.7009, allocations: 0 / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.503e-05/0.701, allocations: 79.28 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.701, allocations: 0 / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001929/0.7012, allocations: 4 kB / 1.019 GB, free: 15.63 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.0001126/0.7013, allocations: 103.8 kB / 1.019 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.7014, allocations: 11.94 kB / 1.019 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7014, allocations: 0 / 1.019 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/0.7014, allocations: 4 kB / 1.019 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.7016, allocations: 7.922 kB / 1.019 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.7018, allocations: 87.62 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.7021, allocations: 0.6812 MB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.7021, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.7021, allocations: 11.38 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.7021, allocations: 7.938 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.002209/0.7044, allocations: 181 kB / 1.02 GB, free: 14.48 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches