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.005438/0.005438, allocations: 101.8 kB / 15.73 MB, free: 6 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.001205/0.001205, allocations: 194.1 kB / 16.67 MB, free: 5.926 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.289/1.289, 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.204/2.204, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 71.89 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8966/0.8978, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001914/0.8998, allocations: 0.5305 MB / 1.088 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.9, allocations: 41.19 kB / 1.088 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.9, allocations: 0.7188 kB / 1.088 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.9001, allocations: 3.938 kB / 1.088 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.9003, allocations: 10.22 kB / 1.088 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.054e-05/0.9003, allocations: 7.812 kB / 1.088 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.9004, allocations: 10.67 kB / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.068e-05/0.9005, allocations: 2.938 kB / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.9005, allocations: 6.703 kB / 1.088 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.131e-05/0.9006, allocations: 7.109 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.9006, allocations: 1.188 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.9007, allocations: 0 / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.9007, allocations: 7.875 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.9008, allocations: 10.86 kB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.21e-05/0.9008, allocations: 17.92 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9008, allocations: 1.125 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.694e-06/0.9008, allocations: 0 / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.9009, allocations: 3.938 kB / 1.089 GB, free: 5.137 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000395/0.9013, allocations: 324.5 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.9013, allocations: 9.406 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.9013, allocations: 2.469 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.9015, allocations: 180.6 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.9015, allocations: 4.375 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.9016, allocations: 1.469 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/0.9016, allocations: 32.09 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.9016, allocations: 1.25 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.9017, allocations: 4.594 kB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.9017, allocations: 0 / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.9017, allocations: 8.531 kB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.9018, allocations: 161.2 kB / 1.089 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.9019, allocations: 26.36 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.9019, allocations: 8.891 kB / 1.089 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.9019, allocations: 4 kB / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.902, allocations: 32.45 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.902, allocations: 0 / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.9021, allocations: 48.47 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.9022, allocations: 52.56 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.9022, allocations: 116.8 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.9023, allocations: 29.64 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.9023, allocations: 87 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.9023, allocations: 0.6562 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.9023, allocations: 12.77 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.9024, allocations: 318.1 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.9024, allocations: 3.609 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.9025, allocations: 19.27 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.572e-05/0.9025, allocations: 23.59 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9025, allocations: 0 / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.003e-05/0.9026, allocations: 50.12 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.9026, allocations: 5.562 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9026, allocations: 5.219 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.9026, allocations: 0.5625 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.9027, allocations: 4.172 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.9027, allocations: 5.828 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.9028, allocations: 1.578 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.9028, allocations: 1.094 kB / 1.09 GB, free: 3.512 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 6.225e-05/0.9028, allocations: 113.1 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.9028, allocations: 2.344 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.903, allocations: 56.41 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.903, allocations: 1.781 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.903, allocations: 3.969 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.903, allocations: 4 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.875e-05/0.9031, allocations: 156.5 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9031, allocations: 0 / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.9031, allocations: 4.266 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9032, allocations: 0 / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.9032, allocations: 5.781 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9032, allocations: 0 / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9032, allocations: 1.094 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.9033, allocations: 89.64 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.9033, allocations: 80 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.9034, allocations: 4.703 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.25e-05/0.9034, allocations: 5.641 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.9034, allocations: 1.859 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.9034, allocations: 1.156 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.9035, allocations: 93.75 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9035, allocations: 0 / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001827/0.9037, allocations: 3.344 kB / 1.091 GB, free: 2.875 MB / 0.8575 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.0001123/0.9038, allocations: 99.38 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.9039, allocations: 19.92 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9039, allocations: 0 / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.133e-05/0.9039, allocations: 7.016 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.9041, allocations: 4.078 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.9044, allocations: 111.6 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.9045, allocations: 0.682 MB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.9045, allocations: 2.828 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.9046, allocations: 9.5 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.9046, allocations: 0 / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of Templates: time 0.002303/0.9069, allocations: 320.5 kB / 1.092 GB, free: 1.902 MB / 0.8575 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