Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_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.006312/0.006312, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001352/0.001352, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.6 MB / 0.7453 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.89 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3306, allocations: 159.9 MB / 1.226 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001643/0.3323, allocations: 0.5211 MB / 1.226 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.3325, allocations: 11.97 kB / 1.226 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.3325, allocations: 0 / 1.226 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.3326, allocations: 7.938 kB / 1.226 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.3327, allocations: 7.984 kB / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-06/0.3327, allocations: 0 / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.055e-05/0.3328, allocations: 4 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.835e-05/0.3329, allocations: 4 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.3329, allocations: 7.938 kB / 1.226 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.333, allocations: 3.984 kB / 1.226 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.333, allocations: 3.938 kB / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-06/0.333, allocations: 0 / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.333, allocations: 4 kB / 1.226 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.333, allocations: 4 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.54e-05/0.3331, allocations: 3.984 kB / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3331, allocations: 0 / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3331, allocations: 0 / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3331, allocations: 0 / 1.226 GB, free: 8.543 MB / 0.9825 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.0002949/0.3334, allocations: 319.5 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3335, allocations: 12.03 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.3335, allocations: 0.9375 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.3336, allocations: 160.4 kB / 1.227 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3336, allocations: 4.312 kB / 1.227 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.3336, allocations: 4.375 kB / 1.227 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.3337, allocations: 47.92 kB / 1.227 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3338, allocations: 192 / 1.227 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3338, allocations: 11.88 kB / 1.227 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3338, allocations: 3.984 kB / 1.227 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.3338, allocations: 4 kB / 1.227 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.334, allocations: 162.5 kB / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.396e-05/0.3341, allocations: 39.39 kB / 1.227 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.3341, allocations: 13.7 kB / 1.227 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.3341, allocations: 4.062 kB / 1.227 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3341, allocations: 38.55 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.3342, allocations: 4 kB / 1.227 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001446/0.3343, allocations: 41.58 kB / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.3344, allocations: 85.09 kB / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.3344, allocations: 93.86 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.3344, allocations: 25.7 kB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.3345, allocations: 80.14 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.3345, allocations: 3.953 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.3346, allocations: 22.03 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3347, allocations: 314.8 kB / 1.228 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.3347, allocations: 4 kB / 1.228 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.3347, allocations: 13.7 kB / 1.228 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.3347, allocations: 17.72 kB / 1.228 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3348, allocations: 64 / 1.228 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.814e-05/0.3348, allocations: 45.64 kB / 1.228 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3348, allocations: 5.875 kB / 1.228 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3348, allocations: 3.938 kB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3349, allocations: 4 kB / 1.228 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.915e-05/0.3349, allocations: 3.984 kB / 1.228 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.335, allocations: 4 kB / 1.228 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.335, allocations: 0 / 1.228 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.335, allocations: 0 / 1.228 GB, free: 6.719 MB / 0.9825 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.711e-05/0.3351, allocations: 110.4 kB / 1.228 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.3351, allocations: 4 kB / 1.228 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.3352, allocations: 56.64 kB / 1.228 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3352, allocations: 3.938 kB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3352, allocations: 0 / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3352, allocations: 4 kB / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.3354, allocations: 149.7 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3354, allocations: 0 / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.3354, allocations: 12 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3354, allocations: 0 / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3354, allocations: 3.938 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3354, allocations: 4 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3354, allocations: 0 / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.902e-05/0.3355, allocations: 69.92 kB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.3356, allocations: 77.11 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.3356, allocations: 11.97 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.3356, allocations: 0 / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.3356, allocations: 3.984 kB / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3356, allocations: 8 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.775e-05/0.3357, allocations: 79.28 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.593e-06/0.3357, allocations: 0 / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001796/0.3359, allocations: 3.938 kB / 1.228 GB, free: 6.023 MB / 0.9825 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.0001128/0.336, allocations: 99.34 kB / 1.228 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.704e-05/0.3361, allocations: 8 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3361, allocations: 0 / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.3361, allocations: 11.92 kB / 1.228 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3362, allocations: 4 kB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002012/0.3364, allocations: 89.69 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.3367, allocations: 0.677 MB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.727e-05/0.3367, allocations: 4 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.3367, allocations: 11.44 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3367, allocations: 4 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of Templates: time 0.001836/0.3386, allocations: 193 kB / 1.229 GB, free: 4.863 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches