Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008385/0.008385, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.001756/0.001756, allocations: 195.7 kB / 16.67 MB, free: 5.977 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 60.12 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4237, allocations: 157.4 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.9347/1.358, allocations: 183.3 MB / 1.387 GB, free: 5.031 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0104/1.369, allocations: 4.858 MB / 1.391 GB, free: 1.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/1.371, allocations: 29.94 kB / 1.391 GB, free: 1.078 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/1.373, allocations: 444.3 kB / 1.392 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004956/1.378, allocations: 1.412 MB / 1.393 GB, free: 15.62 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002969/1.381, allocations: 0.7784 MB / 1.394 GB, free: 15.05 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003382/1.384, allocations: 1.849 MB / 1.396 GB, free: 13.98 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/1.385, allocations: 0.5928 MB / 1.396 GB, free: 13.61 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/1.388, allocations: 0.8928 MB / 1.397 GB, free: 13.06 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/1.389, allocations: 0.5319 MB / 1.398 GB, free: 12.75 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/1.389, allocations: 57.75 kB / 1.398 GB, free: 12.75 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/1.393, allocations: 1.42 MB / 1.399 GB, free: 11.96 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/1.393, allocations: 266.8 kB / 1.399 GB, free: 11.78 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006635/1.394, allocations: 401.5 kB / 1.4 GB, free: 11.53 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002659/1.396, allocations: 1.408 MB / 1.401 GB, free: 10.65 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.396, allocations: 7.875 kB / 1.401 GB, free: 10.64 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.332e-06/1.396, allocations: 1.469 kB / 1.401 GB, free: 10.64 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.823e-05/1.396, allocations: 0 / 1.401 GB, free: 10.64 MB / 1.092 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.002172/1.398, allocations: 1.108 MB / 1.402 GB, free: 9.75 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/1.398, allocations: 11.06 kB / 1.402 GB, free: 9.75 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/1.4, allocations: 208 kB / 1.403 GB, free: 9.656 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/1.401, allocations: 0.6183 MB / 1.403 GB, free: 9.152 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/1.401, allocations: 36.81 kB / 1.403 GB, free: 9.137 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/1.401, allocations: 44.31 kB / 1.403 GB, free: 9.125 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008607/1.402, allocations: 499.8 kB / 1.404 GB, free: 8.844 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/1.402, allocations: 4 kB / 1.404 GB, free: 8.84 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/1.402, allocations: 22 kB / 1.404 GB, free: 8.824 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/1.402, allocations: 15.84 kB / 1.404 GB, free: 8.82 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007672/1.403, allocations: 433.9 kB / 1.404 GB, free: 8.621 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002907/1.406, allocations: 2.02 MB / 1.406 GB, free: 6.879 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/1.406, allocations: 340.9 kB / 1.406 GB, free: 6.699 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/1.407, allocations: 208.2 kB / 1.407 GB, free: 6.598 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/1.407, allocations: 191.7 kB / 1.407 GB, free: 6.398 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.407, allocations: 37.38 kB / 1.407 GB, free: 6.355 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/1.407, allocations: 1.062 kB / 1.407 GB, free: 6.355 MB / 1.092 GB Notification: Performance of matching and sorting (n=33): time 0.001326/1.409, allocations: 0.5425 MB / 1.407 GB, free: 6.082 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/1.409, allocations: 59.47 kB / 1.407 GB, free: 6.016 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/1.409, allocations: 0.509 MB / 1.408 GB, free: 5.711 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/1.409, allocations: 42.61 kB / 1.408 GB, free: 5.668 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/1.41, allocations: 296.6 kB / 1.408 GB, free: 5.406 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/1.41, allocations: 125.2 kB / 1.408 GB, free: 5.297 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/1.41, allocations: 64.41 kB / 1.408 GB, free: 5.258 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.41, allocations: 367.4 kB / 1.409 GB, free: 4.902 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/1.41, allocations: 139.3 kB / 1.409 GB, free: 4.832 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/1.411, allocations: 223.3 kB / 1.409 GB, free: 4.676 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/1.411, allocations: 338.3 kB / 1.409 GB, free: 4.488 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.411, allocations: 0 / 1.409 GB, free: 4.488 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006988/1.412, allocations: 432.9 kB / 1.41 GB, free: 4.262 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.412, allocations: 7.031 kB / 1.41 GB, free: 4.262 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.412, allocations: 0 / 1.41 GB, free: 4.262 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.412, allocations: 3.125 kB / 1.41 GB, free: 4.262 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/1.412, allocations: 74.8 kB / 1.41 GB, free: 4.242 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/1.412, allocations: 7.422 kB / 1.41 GB, free: 4.238 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/1.413, allocations: 44.52 kB / 1.41 GB, free: 4.207 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/1.413, allocations: 14.06 kB / 1.41 GB, free: 4.203 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004362/1.413, allocations: 312.6 kB / 1.41 GB, free: 4 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003208/1.414, allocations: 204.2 kB / 1.411 GB, free: 3.859 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005526/1.414, allocations: 336.6 kB / 1.411 GB, free: 3.668 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/1.414, allocations: 2.875 kB / 1.411 GB, free: 3.668 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.00073/1.415, allocations: 422.1 kB / 1.411 GB, free: 3.449 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.415, allocations: 7.156 kB / 1.411 GB, free: 3.449 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.415, allocations: 6.078 kB / 1.411 GB, free: 3.445 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-06/1.415, allocations: 2.812 kB / 1.411 GB, free: 3.445 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/1.415, allocations: 65.62 kB / 1.411 GB, free: 3.434 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/1.415, allocations: 4.328 kB / 1.411 GB, free: 3.434 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/1.416, allocations: 36.3 kB / 1.411 GB, free: 3.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/1.416, allocations: 17.42 kB / 1.411 GB, free: 3.402 MB / 1.092 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000172/1.416, allocations: 198.2 kB / 1.412 GB, free: 3.207 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.416, allocations: 59.75 kB / 1.412 GB, free: 3.176 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/1.417, allocations: 423.9 kB / 1.412 GB, free: 2.93 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.417, allocations: 2.531 kB / 1.412 GB, free: 2.93 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.417, allocations: 3.938 kB / 1.412 GB, free: 2.926 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006886/1.418, allocations: 434.4 kB / 1.412 GB, free: 2.629 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/1.42, allocations: 1.171 MB / 1.414 GB, free: 1.758 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.42, allocations: 6.844 kB / 1.414 GB, free: 1.754 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/1.42, allocations: 79.05 kB / 1.414 GB, free: 1.738 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.42, allocations: 8.422 kB / 1.414 GB, free: 1.734 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/1.42, allocations: 10.91 kB / 1.414 GB, free: 1.727 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/1.42, allocations: 12.78 kB / 1.414 GB, free: 1.723 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.42, allocations: 0 / 1.414 GB, free: 1.723 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.421, allocations: 0.7068 MB / 1.414 GB, free: 1.262 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/1.422, allocations: 174.6 kB / 1.415 GB, free: 1.102 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/1.422, allocations: 20.67 kB / 1.415 GB, free: 1.086 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/1.422, allocations: 25.67 kB / 1.415 GB, free: 1.074 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/1.422, allocations: 18.22 kB / 1.415 GB, free: 1.066 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/1.422, allocations: 18.05 kB / 1.415 GB, free: 1.059 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004975/1.423, allocations: 366.1 kB / 1.415 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.423, allocations: 0 / 1.415 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001015/1.424, allocations: 323.2 kB / 1.415 GB, free: 0.7852 MB / 1.092 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 () * Number of clocked 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 (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.0005325/1.424, allocations: 194.7 kB / 1.415 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001108/1.425, allocations: 0.5247 MB / 1.416 GB, free: 416 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.425, allocations: 2.344 kB / 1.416 GB, free: 416 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/1.426, allocations: 182.4 kB / 1.416 GB, free: 332 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/1.427, allocations: 347.3 kB / 1.416 GB, free: 152 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/1.429, allocations: 1.237 MB / 1.418 GB, free: 15.21 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/1.43, allocations: 0.9373 MB / 1.419 GB, free: 14.24 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005806/1.431, allocations: 184.8 kB / 1.419 GB, free: 14.06 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/1.431, allocations: 47.44 kB / 1.419 GB, free: 14.01 MB / 1.107 GB Notification: Performance of SimCode: time 7.31e-07/1.431, allocations: 0 / 1.419 GB, free: 14.01 MB / 1.107 GB Notification: Performance of Templates: time 0.02233/1.453, allocations: 11.97 MB / 1.431 GB, free: 2.211 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches