Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_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.001379/0.001379, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.001646/0.001646, allocations: 187 kB / 17.34 MB, free: 5.762 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.371/2.371, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 56.12 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8278, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001545/0.8294, allocations: 0.5273 MB / 1.168 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001749/0.8296, allocations: 39.81 kB / 1.168 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.8296, allocations: 0 / 1.168 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.8297, allocations: 0 / 1.168 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.8298, allocations: 7.938 kB / 1.168 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.451e-05/0.8299, allocations: 15.92 kB / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.83, allocations: 7.984 kB / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.83, allocations: 4 kB / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.154e-05/0.8301, allocations: 3.984 kB / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.8301, allocations: 15.94 kB / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.8302, allocations: 4 kB / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.8302, allocations: 0 / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.8302, allocations: 7.922 kB / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.8303, allocations: 7.938 kB / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 5.706e-05/0.8303, allocations: 7.984 kB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.8303, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8304, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.8304, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 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.0004431/0.8308, allocations: 339.5 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.8308, allocations: 8.031 kB / 1.168 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.8309, allocations: 0.9375 kB / 1.168 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.8311, allocations: 180.1 kB / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.8311, allocations: 8.359 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.8311, allocations: 384 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.785e-05/0.8312, allocations: 30.27 kB / 1.168 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.8312, allocations: 4.125 kB / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.8312, allocations: 3.938 kB / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.8313, allocations: 7.984 kB / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.099e-05/0.8313, allocations: 7.938 kB / 1.168 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.8315, allocations: 153.7 kB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/0.8315, allocations: 18.58 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.8315, allocations: 8.797 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.8316, allocations: 3.984 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.8316, allocations: 34.62 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.8316, allocations: 4 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.8317, allocations: 49.56 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.8318, allocations: 51.41 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.8319, allocations: 113.8 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.8319, allocations: 25.7 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.8319, allocations: 80.14 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.8319, allocations: 11.91 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.832, allocations: 9.844 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.8321, allocations: 322.8 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.8321, allocations: 0 / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/0.8321, allocations: 17.72 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.8322, allocations: 25.64 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8322, allocations: 0 / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.783e-05/0.8323, allocations: 49.75 kB / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.8323, allocations: 8 kB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.8323, allocations: 3.938 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.8323, allocations: 0 / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.8324, allocations: 4 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8324, allocations: 7.922 kB / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.8324, allocations: 0 / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.8324, allocations: 4 kB / 1.169 GB, free: 1.445 MB / 0.8887 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.149e-05/0.8325, allocations: 105.8 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-06/0.8325, allocations: 8.062 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.245e-05/0.8326, allocations: 49.16 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8326, allocations: 3.984 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.8326, allocations: 0 / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8326, allocations: 4 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.8327, allocations: 157.6 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8328, allocations: 0 / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.8328, allocations: 4 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.8328, allocations: 0 / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.8328, allocations: 3.969 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8328, allocations: 7.938 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8328, allocations: 0 / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.833, allocations: 81.02 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.833, allocations: 81.11 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.833, allocations: 3.938 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.8331, allocations: 4.031 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.8331, allocations: 4.078 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.8331, allocations: 8.188 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.8331, allocations: 91.28 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.8331, allocations: 0 / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001731/0.8333, allocations: 4 kB / 1.17 GB, free: 0.7305 MB / 0.8887 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.0001073/0.8334, allocations: 99.23 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.409e-05/0.8335, allocations: 11.94 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8335, allocations: 0 / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.8335, allocations: 12.11 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.8337, allocations: 10.81 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.834, allocations: 143.3 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.8342, allocations: 0.6768 MB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.8343, allocations: 11.44 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.8343, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of Templates: time 0.00166/0.8359, allocations: 0.5139 MB / 1.171 GB, free: 15.2 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches