Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 387.4 MB / 394.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 188.8 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 91.95 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.645e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3407, allocations: 142.3 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.589/5.93, allocations: 1.922 GB / 3.128 GB, free: 430.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/5.93, allocations: 90.98 kB / 3.128 GB, free: 430 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.628/7.558, allocations: 485 MB / 3.602 GB, free: 308.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.333e-06/7.558, allocations: 0 / 3.602 GB, free: 308.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.795e-05/7.558, allocations: 19.03 kB / 3.602 GB, free: 308.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00245/7.56, allocations: 0.9758 MB / 3.603 GB, free: 308.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/7.56, allocations: 7.812 kB / 3.603 GB, free: 308.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/7.562, allocations: 206.7 kB / 3.603 GB, free: 308.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/7.563, allocations: 0.6296 MB / 3.604 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/7.563, allocations: 13.19 kB / 3.604 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/7.564, allocations: 34.81 kB / 3.604 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007352/7.564, allocations: 357.9 kB / 3.604 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/7.565, allocations: 396.3 kB / 3.604 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.082e-05/7.565, allocations: 0 / 3.604 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/7.565, allocations: 3.844 kB / 3.604 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/7.565, allocations: 19.56 kB / 3.604 GB, free: 307.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/7.568, allocations: 1.914 MB / 3.606 GB, free: 306.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/7.569, allocations: 302 kB / 3.607 GB, free: 306.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/7.569, allocations: 182.3 kB / 3.607 GB, free: 306.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/7.569, allocations: 196.4 kB / 3.607 GB, free: 306.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/7.569, allocations: 42.34 kB / 3.607 GB, free: 306.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.414e-06/7.569, allocations: 0 / 3.607 GB, free: 306.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.000983/7.57, allocations: 373.1 kB / 3.607 GB, free: 306.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/7.57, allocations: 58.19 kB / 3.607 GB, free: 306.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/7.571, allocations: 381.3 kB / 3.608 GB, free: 306.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/7.571, allocations: 25.7 kB / 3.608 GB, free: 306.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/7.571, allocations: 306.2 kB / 3.608 GB, free: 306.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/7.571, allocations: 111.5 kB / 3.608 GB, free: 306.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/7.571, allocations: 3.25 kB / 3.608 GB, free: 306.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000142/7.572, allocations: 367.1 kB / 3.609 GB, free: 305.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/7.572, allocations: 109.2 kB / 3.609 GB, free: 305.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/7.572, allocations: 195.6 kB / 3.609 GB, free: 305.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/7.572, allocations: 142.6 kB / 3.609 GB, free: 305.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/7.572, allocations: 0 / 3.609 GB, free: 305.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006163/7.573, allocations: 376.8 kB / 3.609 GB, free: 305.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/7.573, allocations: 355.4 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/7.573, allocations: 3.953 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/7.573, allocations: 3.156 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/7.574, allocations: 74.53 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/7.574, allocations: 7.344 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/7.574, allocations: 59.7 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/7.574, allocations: 15.33 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/7.574, allocations: 3.281 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004559/7.575, allocations: 276 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/7.575, allocations: 3.5 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/7.575, allocations: 6.656 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/7.575, allocations: 75.17 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/7.575, allocations: 6.188 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/7.576, allocations: 55.33 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/7.576, allocations: 18.45 kB / 3.61 GB, free: 305.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/7.576, allocations: 115.8 kB / 3.61 GB, free: 305.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/7.576, allocations: 56.41 kB / 3.61 GB, free: 305.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000603/7.577, allocations: 352.2 kB / 3.611 GB, free: 305.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/7.577, allocations: 5.25 kB / 3.611 GB, free: 305.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/7.577, allocations: 3.969 kB / 3.611 GB, free: 305.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004188/7.577, allocations: 381.3 kB / 3.611 GB, free: 305 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/7.579, allocations: 1.049 MB / 3.612 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/7.579, allocations: 3.281 kB / 3.612 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/7.579, allocations: 88.66 kB / 3.612 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/7.579, allocations: 2.75 kB / 3.612 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/7.579, allocations: 7.438 kB / 3.612 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/7.579, allocations: 7.766 kB / 3.612 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/7.579, allocations: 7.625 kB / 3.612 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/7.58, allocations: 0.6953 MB / 3.613 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/7.581, allocations: 172.4 kB / 3.613 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/7.581, allocations: 3.938 kB / 3.613 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/7.581, allocations: 50.66 kB / 3.613 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/7.581, allocations: 30.39 kB / 3.613 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/7.581, allocations: 17.19 kB / 3.613 GB, free: 304.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003488/7.582, allocations: 295.8 kB / 3.614 GB, free: 304.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.2e-07/7.582, allocations: 0 / 3.614 GB, free: 304.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001491/7.583, allocations: 402.2 kB / 3.614 GB, free: 304.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002527/7.586, allocations: 1.416 MB / 3.615 GB, free: 303.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007363/7.587, allocations: 468.7 kB / 3.616 GB, free: 303.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/7.587, allocations: 0 / 3.616 GB, free: 303.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/7.587, allocations: 152.5 kB / 3.616 GB, free: 303.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/7.588, allocations: 339 kB / 3.616 GB, free: 303.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/7.59, allocations: 0.958 MB / 3.617 GB, free: 303.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/7.591, allocations: 0.9451 MB / 3.618 GB, free: 302.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009067/7.592, allocations: 216.8 kB / 3.618 GB, free: 302.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/7.592, allocations: 38.47 kB / 3.618 GB, free: 302.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.232e-06/7.592, allocations: 0 / 3.618 GB, free: 302.8 MB / 1.151 GB Notification: Performance of Templates: time 0.0295/7.621, allocations: 17.83 MB / 3.636 GB, free: 302.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_9_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Delays_Examples_Delay.csv","../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches