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.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_10_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.001481/0.001481, allocations: 100.1 kB / 15.88 MB, free: 12 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.001842/0.001842, allocations: 199.2 kB / 16.79 MB, free: 6.809 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.461/1.461, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.729/2.729, allocations: 437 MB / 0.7106 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 63.89 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6779, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.228/0.9059, allocations: 181 MB / 1.194 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008911/0.9149, allocations: 4.935 MB / 1.199 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.9164, allocations: 27.81 kB / 1.199 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.9181, allocations: 374.1 kB / 1.199 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.9223, allocations: 1.319 MB / 1.201 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.9247, allocations: 0.7021 MB / 1.201 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003246/0.9279, allocations: 2.534 MB / 1.204 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.929, allocations: 0.5031 MB / 1.204 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.9312, allocations: 0.778 MB / 1.205 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.9329, allocations: 0.5619 MB / 1.205 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.9331, allocations: 32 kB / 1.206 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.9364, allocations: 1.609 MB / 1.207 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004218/0.9368, allocations: 243.2 kB / 1.207 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006921/0.9375, allocations: 370.1 kB / 1.208 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.9392, allocations: 1.037 MB / 1.209 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.9392, allocations: 4 kB / 1.209 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9392, allocations: 0 / 1.209 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.55e-05/0.9393, allocations: 0 / 1.209 GB, free: 14.04 MB / 0.9669 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.002161/0.9414, allocations: 1.094 MB / 1.21 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.9415, allocations: 16.03 kB / 1.21 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.943, allocations: 210.8 kB / 1.21 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.9441, allocations: 0.5771 MB / 1.211 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.9442, allocations: 37 kB / 1.211 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/0.9443, allocations: 48 kB / 1.211 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009663/0.9453, allocations: 498.3 kB / 1.211 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.9453, allocations: 0 / 1.211 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.9453, allocations: 20 kB / 1.211 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.9454, allocations: 17 kB / 1.211 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008149/0.9462, allocations: 447.6 kB / 1.212 GB, free: 11 MB / 0.9669 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.002865/0.9491, allocations: 2.002 MB / 1.214 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.9497, allocations: 355.4 kB / 1.214 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.9501, allocations: 209.2 kB / 1.214 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/0.9504, allocations: 190.5 kB / 1.214 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.9505, allocations: 46.83 kB / 1.214 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.344e-06/0.9505, allocations: 0 / 1.214 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.001278/0.9518, allocations: 0.5371 MB / 1.215 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.9518, allocations: 59.34 kB / 1.215 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005632/0.9524, allocations: 0.5107 MB / 1.215 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.9524, allocations: 37.7 kB / 1.215 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.9526, allocations: 304.2 kB / 1.216 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.9527, allocations: 118.3 kB / 1.216 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.9529, allocations: 66.02 kB / 1.216 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.953, allocations: 362.8 kB / 1.216 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.9533, allocations: 142.1 kB / 1.216 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.9536, allocations: 219.4 kB / 1.217 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005682/0.9542, allocations: 340.3 kB / 1.217 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.9542, allocations: 0 / 1.217 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007786/0.955, allocations: 428.5 kB / 1.217 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.955, allocations: 4 kB / 1.217 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9551, allocations: 4 kB / 1.217 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.9551, allocations: 0 / 1.217 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.9554, allocations: 79.94 kB / 1.217 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.9555, allocations: 7.938 kB / 1.217 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.9561, allocations: 63.64 kB / 1.217 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.9561, allocations: 12 kB / 1.217 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004666/0.9566, allocations: 309.5 kB / 1.218 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003127/0.9569, allocations: 207.4 kB / 1.218 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005366/0.9574, allocations: 335.4 kB / 1.218 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.9575, allocations: 0 / 1.218 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007156/0.9582, allocations: 436.4 kB / 1.219 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.9582, allocations: 4 kB / 1.219 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.9582, allocations: 4 kB / 1.219 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.9582, allocations: 0 / 1.219 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.9585, allocations: 67.91 kB / 1.219 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.9586, allocations: 7.938 kB / 1.219 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.9591, allocations: 63.89 kB / 1.219 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.9592, allocations: 20 kB / 1.219 GB, free: 3.172 MB / 0.9669 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.0001564/0.9593, allocations: 200.2 kB / 1.219 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.9594, allocations: 67.25 kB / 1.219 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007952/0.9602, allocations: 415 kB / 1.219 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.9603, allocations: 4 kB / 1.219 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.9603, allocations: 3.938 kB / 1.219 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000608/0.9609, allocations: 441.6 kB / 1.22 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.9628, allocations: 1.172 MB / 1.221 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.9628, allocations: 0 / 1.221 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.9632, allocations: 84.08 kB / 1.221 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.9632, allocations: 4 kB / 1.221 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.9633, allocations: 19.92 kB / 1.221 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.9633, allocations: 4 kB / 1.221 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.9633, allocations: 4 kB / 1.221 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.9644, allocations: 0.6995 MB / 1.222 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.9647, allocations: 176.2 kB / 1.222 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/0.9648, allocations: 8 kB / 1.222 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005477/0.9653, allocations: 47.95 kB / 1.222 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.9654, allocations: 19.97 kB / 1.222 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.9654, allocations: 19.98 kB / 1.222 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004564/0.9659, allocations: 370.8 kB / 1.222 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9659, allocations: 0 / 1.222 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009343/0.9668, allocations: 327.1 kB / 1.223 GB, free: 14.96 MB / 0.9825 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.0004571/0.9673, allocations: 192 kB / 1.223 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.9684, allocations: 0.527 MB / 1.223 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9684, allocations: 0 / 1.223 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.9687, allocations: 176.5 kB / 1.224 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.9706, allocations: 374.4 kB / 1.224 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.973, allocations: 1.516 MB / 1.225 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.9736, allocations: 0.9296 MB / 1.226 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.9738, allocations: 51.44 kB / 1.226 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.9738, allocations: 0 / 1.226 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of Templates: time 0.01891/0.9927, allocations: 9.766 MB / 1.236 GB, free: 1.461 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.makefile (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 & ./Buildings_10_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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