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.001449/0.001449, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001919, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.486/1.486, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.27 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.33, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001892/0.3319, allocations: 0.523 MB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000129/0.3321, allocations: 15.97 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.3321, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.3321, allocations: 4 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.3323, allocations: 3.938 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.3323, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.099e-05/0.3324, allocations: 8 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.572e-05/0.3324, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.3325, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.3325, allocations: 11.97 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3326, allocations: 3.938 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.3326, allocations: 4 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.3326, allocations: 3.938 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.3326, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.673e-05/0.3327, allocations: 4 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3327, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3327, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3327, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 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.0003392/0.333, allocations: 311.6 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3331, allocations: 8.031 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.3331, allocations: 4.922 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3332, allocations: 168.4 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3333, allocations: 8.297 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.3333, allocations: 384 / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.3334, allocations: 43.98 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3334, allocations: 192 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3334, allocations: 3.938 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3334, allocations: 0 / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.602e-05/0.3335, allocations: 15.92 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.3336, allocations: 150.5 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.286e-05/0.3337, allocations: 41.16 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.469e-05/0.3337, allocations: 13.84 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.3338, allocations: 11.92 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3338, allocations: 34.56 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.3338, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000164/0.334, allocations: 45.58 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.334, allocations: 81.11 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.3341, allocations: 93.84 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.3341, allocations: 29.7 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.3342, allocations: 84.52 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.3342, allocations: 8.125 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.3342, allocations: 9.719 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3344, allocations: 318.8 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.3344, allocations: 0 / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.096e-05/0.3344, allocations: 21.64 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.359e-05/0.3345, allocations: 21.78 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3345, allocations: 0 / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.807e-05/0.3345, allocations: 37.64 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3345, allocations: 8 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3346, allocations: 3.938 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3346, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.3346, allocations: 7.984 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3346, allocations: 0 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.3347, allocations: 3.906 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.3347, allocations: 4.062 kB / 1.07 GB, free: 7.984 MB / 0.8262 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.438e-05/0.3348, allocations: 113.8 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.3348, allocations: 0 / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.3349, allocations: 52.69 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3349, allocations: 7.938 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3349, allocations: 0 / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3349, allocations: 0 / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.3351, allocations: 157.7 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3351, allocations: 0 / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.3351, allocations: 4 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3351, allocations: 4 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3351, allocations: 3.938 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3351, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3351, allocations: 7.922 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.699e-05/0.3352, allocations: 73.98 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.3353, allocations: 77.11 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3353, allocations: 3.938 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.703e-05/0.3353, allocations: 4 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.3353, allocations: 7.984 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.3354, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.627e-05/0.3354, allocations: 79.22 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3354, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001925/0.3356, allocations: 4.125 kB / 1.071 GB, free: 7.289 MB / 0.8262 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.621e-05/0.3357, allocations: 95.78 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.357e-05/0.3358, allocations: 11.94 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3358, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.3358, allocations: 11.98 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.336, allocations: 4 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.3362, allocations: 97.98 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.3364, allocations: 0.6768 MB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.564e-05/0.3364, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.3365, allocations: 7.438 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3365, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.001806/0.3383, allocations: 195.3 kB / 1.072 GB, free: 6.133 MB / 0.8262 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