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.00735/0.00735, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001478/0.001478, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.299/2.299, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8159, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001608/0.8175, allocations: 0.5244 MB / 1.088 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001242/0.8177, allocations: 12.61 kB / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.8177, allocations: 1.062 kB / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.8177, allocations: 0 / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.8179, allocations: 9.844 kB / 1.088 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.8179, allocations: 0 / 1.088 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.128e-05/0.818, allocations: 8.484 kB / 1.088 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.8181, allocations: 3.656 kB / 1.088 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.8181, allocations: 2.938 kB / 1.088 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.8182, allocations: 4.938 kB / 1.088 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.8182, allocations: 4 kB / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.61e-06/0.8182, allocations: 0 / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.8182, allocations: 1.641 kB / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.8182, allocations: 1.094 kB / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 5.926e-05/0.8183, allocations: 9.781 kB / 1.088 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8183, allocations: 0 / 1.088 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8183, allocations: 0 / 1.088 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.8183, allocations: 1.125 kB / 1.088 GB, free: 5.141 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.00025/0.8186, allocations: 310.6 kB / 1.089 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.8186, allocations: 12.62 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.8187, allocations: 9.906 kB / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.076e-05/0.8187, allocations: 163 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.8187, allocations: 1.188 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.8188, allocations: 1.062 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.8189, allocations: 45.08 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8189, allocations: 1.281 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.8189, allocations: 4.688 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.8189, allocations: 5.125 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.785e-05/0.8189, allocations: 6.891 kB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.8191, allocations: 157.9 kB / 1.089 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.595e-05/0.8191, allocations: 41.38 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.8192, allocations: 15.83 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.8192, allocations: 9.516 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.8192, allocations: 32.27 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8192, allocations: 0 / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001666/0.8194, allocations: 49.95 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.8195, allocations: 78.78 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.091e-05/0.8195, allocations: 91.69 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.8195, allocations: 26.08 kB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.512e-05/0.8195, allocations: 85.02 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.8196, allocations: 9.719 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.8196, allocations: 12.47 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.8197, allocations: 312.6 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.8197, allocations: 1.781 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.8197, allocations: 17.67 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.8197, allocations: 23.61 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8198, allocations: 4 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.716e-05/0.8198, allocations: 44.41 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.8198, allocations: 6.141 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.8199, allocations: 11.81 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.8199, allocations: 1.25 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/0.82, allocations: 4.359 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.82, allocations: 1.609 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.82, allocations: 5.062 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.82, allocations: 1.125 kB / 1.09 GB, free: 3.418 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 5.562e-05/0.8201, allocations: 107.7 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.8201, allocations: 1.844 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.8202, allocations: 53.89 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.8202, allocations: 0 / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.8202, allocations: 5.703 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8202, allocations: 0 / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.395e-05/0.8203, allocations: 150.9 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8203, allocations: 0.7969 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.8204, allocations: 4.312 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8204, allocations: 1.094 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.8204, allocations: 5.031 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8204, allocations: 0.7031 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8204, allocations: 1.062 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.644e-05/0.8205, allocations: 74.61 kB / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.8205, allocations: 79.25 kB / 1.09 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.8205, allocations: 5.766 kB / 1.09 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.8205, allocations: 0 / 1.09 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.8206, allocations: 2.25 kB / 1.09 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.8206, allocations: 1.812 kB / 1.09 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.944e-05/0.8206, allocations: 81.08 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8206, allocations: 4.094 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002117/0.8208, allocations: 1.094 kB / 1.091 GB, free: 2.797 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 9.494e-05/0.8209, allocations: 99.36 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.816e-05/0.821, allocations: 12.02 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.821, allocations: 0 / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.821, allocations: 5.062 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.8212, allocations: 5.266 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001875/0.8214, allocations: 92.22 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.8215, allocations: 0.6723 MB / 1.091 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.718e-05/0.8215, allocations: 5.703 kB / 1.091 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.8215, allocations: 12.44 kB / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.8215, allocations: 1.031 kB / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of Templates: time 0.001898/0.8234, allocations: 191.2 kB / 1.092 GB, free: 1.828 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