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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 102.4 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 443.5 MB / 0.731 GB, free: 12.7 MB / 0.5919 GB [Timeout remaining time 87] 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=501,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 1.06 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.717/0.719, allocations: 160.7 MB / 1.217 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00184/0.7208, allocations: 0.5373 MB / 1.217 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001778/0.721, allocations: 40.36 kB / 1.217 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.721, allocations: 4 kB / 1.217 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.7211, allocations: 5.219 kB / 1.217 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.7212, allocations: 9.219 kB / 1.217 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.896e-05/0.7213, allocations: 9.328 kB / 1.217 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.7213, allocations: 9.734 kB / 1.217 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.7214, allocations: 1.094 kB / 1.217 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.7214, allocations: 2.156 kB / 1.217 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.7215, allocations: 16.52 kB / 1.217 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.7215, allocations: 5.062 kB / 1.217 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-06/0.7215, allocations: 4.781 kB / 1.217 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.7216, allocations: 6.031 kB / 1.217 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.7216, allocations: 14.09 kB / 1.217 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.883e-05/0.7217, allocations: 4.281 kB / 1.217 GB, free: 3.422 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7217, allocations: 0 / 1.217 GB, free: 3.422 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7217, allocations: 0 / 1.217 GB, free: 3.422 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.7217, allocations: 0 / 1.217 GB, free: 3.422 MB / 0.92 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.0004803/0.7221, allocations: 337.2 kB / 1.217 GB, free: 3.059 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.7222, allocations: 9.875 kB / 1.218 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.7222, allocations: 6.109 kB / 1.218 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.7224, allocations: 169.6 kB / 1.218 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-06/0.7224, allocations: 9.5 kB / 1.218 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.7225, allocations: 5.438 kB / 1.218 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.798e-05/0.7225, allocations: 29.73 kB / 1.218 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.7225, allocations: 192 / 1.218 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.7225, allocations: 3.938 kB / 1.218 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.7226, allocations: 1.125 kB / 1.218 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.7226, allocations: 10.2 kB / 1.218 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.7228, allocations: 153.1 kB / 1.218 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.878e-05/0.7228, allocations: 26.25 kB / 1.218 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.7228, allocations: 7.047 kB / 1.218 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.7228, allocations: 1.062 kB / 1.218 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.7229, allocations: 31.66 kB / 1.218 GB, free: 2.527 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.7229, allocations: 0 / 1.218 GB, free: 2.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001619/0.723, allocations: 59.34 kB / 1.218 GB, free: 2.473 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.7231, allocations: 51.53 kB / 1.218 GB, free: 2.41 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.7232, allocations: 113.6 kB / 1.218 GB, free: 2.301 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.7232, allocations: 25.7 kB / 1.218 GB, free: 2.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.7232, allocations: 81.36 kB / 1.218 GB, free: 2.188 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.7233, allocations: 5.281 kB / 1.218 GB, free: 2.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.7233, allocations: 11.84 kB / 1.218 GB, free: 2.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7234, allocations: 315.8 kB / 1.219 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.7235, allocations: 2.906 kB / 1.219 GB, free: 1.852 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.7235, allocations: 21.94 kB / 1.219 GB, free: 1.828 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.942e-05/0.7235, allocations: 25.05 kB / 1.219 GB, free: 1.805 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7235, allocations: 0 / 1.219 GB, free: 1.805 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.69e-05/0.7236, allocations: 50.05 kB / 1.219 GB, free: 1.762 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.7236, allocations: 5.031 kB / 1.219 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.7236, allocations: 5.281 kB / 1.219 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.7237, allocations: 5.219 kB / 1.219 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.7237, allocations: 7.094 kB / 1.219 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.7237, allocations: 1.094 kB / 1.219 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.7238, allocations: 13.27 kB / 1.219 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.7238, allocations: 1.312 kB / 1.219 GB, free: 1.738 MB / 0.92 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 8.455e-05/0.7239, allocations: 111.2 kB / 1.219 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.7239, allocations: 1.344 kB / 1.219 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.724, allocations: 51.88 kB / 1.219 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.724, allocations: 5.344 kB / 1.219 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.724, allocations: 3.938 kB / 1.219 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.724, allocations: 3.984 kB / 1.219 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.7241, allocations: 159 kB / 1.219 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7241, allocations: 1.125 kB / 1.219 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.7242, allocations: 6.125 kB / 1.219 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.7242, allocations: 0.9688 kB / 1.219 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.7242, allocations: 4.75 kB / 1.219 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7242, allocations: 0 / 1.219 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7242, allocations: 1.062 kB / 1.219 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.7243, allocations: 82.81 kB / 1.219 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.7244, allocations: 78.95 kB / 1.219 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.7244, allocations: 9.125 kB / 1.219 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/0.7244, allocations: 0 / 1.219 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.7244, allocations: 4.891 kB / 1.219 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.7244, allocations: 1.188 kB / 1.219 GB, free: 1.164 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.047e-05/0.7245, allocations: 86.72 kB / 1.219 GB, free: 1.086 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.7245, allocations: 0 / 1.219 GB, free: 1.086 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001755/0.7247, allocations: 7.156 kB / 1.219 GB, free: 1.082 MB / 0.92 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.0001109/0.7248, allocations: 99.02 kB / 1.219 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.413e-05/0.7249, allocations: 12.91 kB / 1.219 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7249, allocations: 0 / 1.219 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-05/0.7249, allocations: 9.547 kB / 1.219 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.725, allocations: 5.219 kB / 1.219 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.7253, allocations: 147.5 kB / 1.22 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.7256, allocations: 0.6784 MB / 1.22 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.7257, allocations: 8.656 kB / 1.22 GB, free: 120 kB / 0.92 GB Notification: Performance of SimCode: time 3.7e-07/0.7257, allocations: 0 / 1.22 GB, free: 120 kB / 0.92 GB Notification: Performance of Templates: time 0.002019/0.7277, allocations: 0.5147 MB / 1.221 GB, free: 15.86 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches