Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_10_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_10_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004641/0.004641, allocations: 97.38 kB / 15.73 MB, free: 6.039 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.001355/0.001355, allocations: 204.5 kB / 16.68 MB, free: 5.961 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.316/2.316, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2351, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6064/0.8415, allocations: 183.2 MB / 1.345 GB, free: 8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006616/0.8482, allocations: 4.875 MB / 1.35 GB, free: 4.566 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000363/0.8486, allocations: 26.62 kB / 1.35 GB, free: 4.559 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009219/0.8495, allocations: 439.3 kB / 1.35 GB, free: 4.305 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.8521, allocations: 1.41 MB / 1.352 GB, free: 3.531 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.8535, allocations: 0.7719 MB / 1.352 GB, free: 3.141 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.8552, allocations: 1.847 MB / 1.354 GB, free: 2.301 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006491/0.8559, allocations: 0.6072 MB / 1.355 GB, free: 2.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.8572, allocations: 0.8717 MB / 1.356 GB, free: 1.621 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009416/0.8581, allocations: 0.5476 MB / 1.356 GB, free: 1.383 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.8582, allocations: 59 kB / 1.356 GB, free: 1.383 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.8601, allocations: 1.413 MB / 1.358 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.8604, allocations: 267.2 kB / 1.358 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.8608, allocations: 400.4 kB / 1.358 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.8623, allocations: 1.426 MB / 1.36 GB, free: 15.99 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8624, allocations: 0.9688 kB / 1.36 GB, free: 15.99 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8624, allocations: 0 / 1.36 GB, free: 15.99 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.8624, allocations: 0 / 1.36 GB, free: 15.99 MB / 1.045 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.00147/0.8638, allocations: 1.124 MB / 1.361 GB, free: 15.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.8639, allocations: 9.219 kB / 1.361 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.164e-05/0.864, allocations: 86.19 kB / 1.361 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.8651, allocations: 217.1 kB / 1.361 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008351/0.8659, allocations: 0.6275 MB / 1.362 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.866, allocations: 36.69 kB / 1.362 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.8661, allocations: 50.2 kB / 1.362 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.8668, allocations: 497.3 kB / 1.362 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.8669, allocations: 1.094 kB / 1.362 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.8669, allocations: 16.66 kB / 1.362 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.8669, allocations: 19.56 kB / 1.362 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006938/0.8676, allocations: 440.3 kB / 1.363 GB, free: 14.26 MB / 1.045 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.002345/0.87, allocations: 2.011 MB / 1.365 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.8705, allocations: 344.2 kB / 1.365 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.8709, allocations: 211.7 kB / 1.365 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/0.8711, allocations: 191 kB / 1.365 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.8712, allocations: 42.06 kB / 1.365 GB, free: 12.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.8712, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.001104/0.8723, allocations: 0.5416 MB / 1.366 GB, free: 11.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.8723, allocations: 58.91 kB / 1.366 GB, free: 11.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.8729, allocations: 0.5091 MB / 1.367 GB, free: 11.45 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.8729, allocations: 33.33 kB / 1.367 GB, free: 11.41 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.8731, allocations: 307 kB / 1.367 GB, free: 11.14 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.8732, allocations: 122.8 kB / 1.367 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.8733, allocations: 74.69 kB / 1.367 GB, free: 10.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.8735, allocations: 363.8 kB / 1.367 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.8738, allocations: 150.8 kB / 1.368 GB, free: 10.55 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.8741, allocations: 210.4 kB / 1.368 GB, free: 10.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/0.8746, allocations: 342.5 kB / 1.368 GB, free: 10.21 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8746, allocations: 0 / 1.368 GB, free: 10.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006437/0.8753, allocations: 433.8 kB / 1.368 GB, free: 9.988 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.8753, allocations: 8 kB / 1.368 GB, free: 9.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.8753, allocations: 0 / 1.368 GB, free: 9.988 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.8753, allocations: 2.781 kB / 1.368 GB, free: 9.988 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.8756, allocations: 75.12 kB / 1.369 GB, free: 9.969 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8756, allocations: 10.75 kB / 1.369 GB, free: 9.961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.876, allocations: 41.25 kB / 1.369 GB, free: 9.934 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.8761, allocations: 11.44 kB / 1.369 GB, free: 9.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003838/0.8764, allocations: 306 kB / 1.369 GB, free: 9.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002919/0.8767, allocations: 211.9 kB / 1.369 GB, free: 9.586 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005008/0.8773, allocations: 339.2 kB / 1.369 GB, free: 9.398 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.8773, allocations: 4 kB / 1.369 GB, free: 9.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006258/0.8779, allocations: 422 kB / 1.37 GB, free: 9.176 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-06/0.8779, allocations: 7.812 kB / 1.37 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/0.8779, allocations: 0 / 1.37 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-06/0.8779, allocations: 2.875 kB / 1.37 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.8782, allocations: 73.27 kB / 1.37 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.8782, allocations: 3.688 kB / 1.37 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.8786, allocations: 40.28 kB / 1.37 GB, free: 9.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.8786, allocations: 9.438 kB / 1.37 GB, free: 9.129 MB / 1.045 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.0001245/0.8788, allocations: 197.6 kB / 1.37 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.8789, allocations: 61.69 kB / 1.37 GB, free: 8.902 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007105/0.8796, allocations: 419.5 kB / 1.371 GB, free: 8.664 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.8796, allocations: 2.781 kB / 1.371 GB, free: 8.664 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.8796, allocations: 9.219 kB / 1.371 GB, free: 8.656 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005769/0.8802, allocations: 437.9 kB / 1.371 GB, free: 8.355 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.8817, allocations: 1.168 MB / 1.372 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.8817, allocations: 2.75 kB / 1.372 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.8821, allocations: 85.33 kB / 1.372 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.8821, allocations: 2.812 kB / 1.372 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.8821, allocations: 12.66 kB / 1.372 GB, free: 7.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.8822, allocations: 6.641 kB / 1.372 GB, free: 7.457 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8822, allocations: 6.859 kB / 1.372 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.8831, allocations: 0.7121 MB / 1.373 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.8833, allocations: 185.4 kB / 1.373 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.8834, allocations: 6.281 kB / 1.373 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.8838, allocations: 24.44 kB / 1.373 GB, free: 6.801 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.8838, allocations: 22.06 kB / 1.373 GB, free: 6.789 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.8839, allocations: 18.22 kB / 1.373 GB, free: 6.781 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003395/0.8842, allocations: 365.6 kB / 1.374 GB, free: 6.566 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.8842, allocations: 2.438 kB / 1.374 GB, free: 6.566 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006144/0.8848, allocations: 328.3 kB / 1.374 GB, free: 6.5 MB / 1.045 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.001444/0.8863, allocations: 1.346 MB / 1.375 GB, free: 5.453 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008204/0.8871, allocations: 0.5141 MB / 1.376 GB, free: 5.223 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8871, allocations: 0 / 1.376 GB, free: 5.223 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.8874, allocations: 180.7 kB / 1.376 GB, free: 5.141 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.8888, allocations: 361.9 kB / 1.376 GB, free: 4.953 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/0.8938, allocations: 4.658 MB / 1.381 GB, free: 1.855 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.8943, allocations: 0.9327 MB / 1.382 GB, free: 1.043 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004189/0.8947, allocations: 181.5 kB / 1.382 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.895, allocations: 216.8 kB / 1.382 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of SimCode: time 2.1e-07/0.895, allocations: 0 / 1.382 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.585/4.48, allocations: 16.85 MB / 1.399 GB, free: 6.473 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/14.65, allocations: 8 kB / 1.399 GB, free: 6.465 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches