Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_10_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.007512/0.007512, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001717/0.001717, allocations: 197.3 kB / 16.79 MB, free: 6.254 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.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.89 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6156/0.6172, allocations: 151.6 MB / 1.017 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.002012/0.6192, allocations: 0.5896 MB / 1.018 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.6194, allocations: 15.97 kB / 1.018 GB, free: 2.297 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.6194, allocations: 4 kB / 1.018 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.6195, allocations: 7.875 kB / 1.018 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.6196, allocations: 0 / 1.018 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.805e-06/0.6196, allocations: 0 / 1.018 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.431e-05/0.6197, allocations: 7.984 kB / 1.018 GB, free: 2.277 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.6197, allocations: 0 / 1.018 GB, free: 2.277 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.6198, allocations: 8 kB / 1.018 GB, free: 2.27 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.6198, allocations: 3.984 kB / 1.018 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.6198, allocations: 3.938 kB / 1.018 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-06/0.6198, allocations: 0 / 1.018 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.6199, allocations: 3.938 kB / 1.018 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.6199, allocations: 4 kB / 1.018 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.19e-05/0.6199, allocations: 4 kB / 1.018 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6199, allocations: 0 / 1.018 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6199, allocations: 0 / 1.018 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.62, allocations: 0 / 1.018 GB, free: 2.25 MB / 0.7637 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.0002951/0.6203, allocations: 319.5 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.6203, allocations: 8.031 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.6203, allocations: 0.9375 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.6204, allocations: 164.4 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.6205, allocations: 8.375 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.6205, allocations: 384 / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.6206, allocations: 43.97 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.6206, allocations: 192 / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.6206, allocations: 3.938 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6206, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.6207, allocations: 7.938 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.6208, allocations: 158.6 kB / 1.019 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.219e-05/0.6209, allocations: 41.09 kB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.6209, allocations: 17.78 kB / 1.019 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.6209, allocations: 0 / 1.019 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.621, allocations: 30.56 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.621, allocations: 4 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001571/0.6211, allocations: 53.56 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.6212, allocations: 77.11 kB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.6213, allocations: 89.86 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.6213, allocations: 29.7 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.6213, allocations: 80.14 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.6213, allocations: 10.39 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.6214, allocations: 21.7 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6215, allocations: 310.8 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.6215, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.6215, allocations: 17.66 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.105e-05/0.6216, allocations: 21.66 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6216, allocations: 4.062 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.598e-05/0.6216, allocations: 41.62 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6217, allocations: 8 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6217, allocations: 7.922 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.6217, allocations: 0 / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/0.6218, allocations: 4 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.6218, allocations: 3.984 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.6218, allocations: 4 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.6218, allocations: 4 kB / 1.019 GB, free: 436 kB / 0.7637 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.075e-05/0.6219, allocations: 110.4 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.6219, allocations: 3.984 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.622, allocations: 52.69 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.622, allocations: 4 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6221, allocations: 0 / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6221, allocations: 0 / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.85e-05/0.6222, allocations: 145.7 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6222, allocations: 4 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.6222, allocations: 8.062 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6222, allocations: 3.984 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.6222, allocations: 7.938 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6222, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.6222, allocations: 7.875 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.284e-05/0.6223, allocations: 66 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.6224, allocations: 89.03 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.6224, allocations: 3.938 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.477e-05/0.6224, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.6225, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.6225, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.879e-05/0.6225, allocations: 75.28 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6225, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001777/0.6227, allocations: 4 kB / 1.02 GB, free: 15.74 MB / 0.7794 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.0001154/0.6228, allocations: 103.3 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.44e-05/0.6229, allocations: 15.92 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6229, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.988e-06/0.6229, allocations: 4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.6231, allocations: 4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.6233, allocations: 124.2 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.6235, allocations: 0.677 MB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.6236, allocations: 7.438 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6236, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of Templates: time 0.001675/0.6252, allocations: 360 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches