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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001667/0.001667, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001826/0.001826, allocations: 191 kB / 17.29 MB, free: 5.516 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 69.64 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2316, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001593/0.2332, allocations: 0.5258 MB / 0.9516 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001061/0.2334, allocations: 11.98 kB / 0.9516 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.2334, allocations: 0 / 0.9516 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.2334, allocations: 7.938 kB / 0.9516 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.2336, allocations: 0 / 0.9516 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.125e-06/0.2336, allocations: 0 / 0.9516 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.568e-05/0.2336, allocations: 15.91 kB / 0.9517 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.2337, allocations: 8 kB / 0.9517 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.058e-05/0.2337, allocations: 7.938 kB / 0.9517 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.25e-05/0.2338, allocations: 0 / 0.9517 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.2338, allocations: 0 / 0.9517 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.52e-06/0.2338, allocations: 0 / 0.9517 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.2338, allocations: 4 kB / 0.9517 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.352e-05/0.2338, allocations: 3.938 kB / 0.9517 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 3.931e-05/0.2339, allocations: 7.984 kB / 0.9517 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2339, allocations: 0 / 0.9517 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2339, allocations: 0 / 0.9517 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.2339, allocations: 0 / 0.9517 GB, free: 7.488 MB / 0.7325 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.0002542/0.2341, allocations: 315.5 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2342, allocations: 12.03 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.2342, allocations: 0.9375 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.2343, allocations: 160.4 kB / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2343, allocations: 4.375 kB / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.2343, allocations: 4.375 kB / 0.9522 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.883e-05/0.2344, allocations: 47.91 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.2344, allocations: 192 / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2345, allocations: 7.938 kB / 0.9522 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2345, allocations: 0 / 0.9522 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.2345, allocations: 0 / 0.9522 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.2346, allocations: 162.5 kB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.2347, allocations: 45.22 kB / 0.9524 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.2347, allocations: 9.719 kB / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2347, allocations: 4.062 kB / 0.9524 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.2348, allocations: 30.56 kB / 0.9525 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2348, allocations: 4 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001273/0.2349, allocations: 49.56 kB / 0.9525 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.235, allocations: 85.05 kB / 0.9526 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.235, allocations: 89.86 kB / 0.9527 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.235, allocations: 25.7 kB / 0.9527 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.2351, allocations: 80.14 kB / 0.9528 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.2351, allocations: 11.84 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.2351, allocations: 26.02 kB / 0.9528 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.2352, allocations: 314.8 kB / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.2353, allocations: 4 kB / 0.9531 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.2353, allocations: 9.719 kB / 0.9531 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.2353, allocations: 21.72 kB / 0.9531 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2353, allocations: 0 / 0.9531 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.468e-05/0.2354, allocations: 45.69 kB / 0.9532 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2354, allocations: 4 kB / 0.9532 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2354, allocations: 7.922 kB / 0.9532 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2354, allocations: 4 kB / 0.9532 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.591e-05/0.2355, allocations: 0 / 0.9532 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2355, allocations: 4 kB / 0.9532 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.2355, allocations: 4 kB / 0.9532 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2355, allocations: 0 / 0.9532 GB, free: 5.664 MB / 0.7325 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.749e-05/0.2356, allocations: 113.9 kB / 0.9533 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.2356, allocations: 4 kB / 0.9533 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.2357, allocations: 52.69 kB / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2357, allocations: 0 / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2358, allocations: 4 kB / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2358, allocations: 4 kB / 0.9534 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.856e-05/0.2359, allocations: 141.7 kB / 0.9535 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2359, allocations: 0 / 0.9535 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.2359, allocations: 11.98 kB / 0.9535 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2359, allocations: 4 kB / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2359, allocations: 11.94 kB / 0.9535 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2359, allocations: 0 / 0.9535 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2359, allocations: 0 / 0.9535 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.801e-05/0.236, allocations: 65.98 kB / 0.9536 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.2361, allocations: 81.02 kB / 0.9537 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.2361, allocations: 11.97 kB / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.759e-05/0.2361, allocations: 0 / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.2361, allocations: 3.938 kB / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.2361, allocations: 4 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.747e-05/0.2362, allocations: 75.28 kB / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.513e-06/0.2362, allocations: 0 / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001826/0.2363, allocations: 3.938 kB / 0.9538 GB, free: 4.977 MB / 0.7325 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.32e-05/0.2364, allocations: 103.3 kB / 0.9539 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.315e-05/0.2365, allocations: 12 kB / 0.9539 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2365, allocations: 0 / 0.9539 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.2365, allocations: 7.938 kB / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.2367, allocations: 0 / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001719/0.2368, allocations: 93.92 kB / 0.954 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.2371, allocations: 0.6768 MB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.44e-05/0.2371, allocations: 8 kB / 0.9547 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.2371, allocations: 7.438 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2371, allocations: 0 / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of Templates: time 0.00172/0.2388, allocations: 193 kB / 0.9548 GB, free: 3.82 MB / 0.7325 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches