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.001089/0.001089, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001621/0.001621, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.3 MB / 240 MB, free: 5.305 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.866/2.866, allocations: 437.7 MB / 0.7117 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004063, allocations: 8 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8811/0.8815, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2053/1.087, allocations: 166.7 MB / 1.185 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008178/1.095, allocations: 4.556 MB / 1.19 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009053/1.096, allocations: 31.75 kB / 1.19 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009839/1.097, allocations: 294.1 kB / 1.19 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003021/1.1, allocations: 1.03 MB / 1.191 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/1.102, allocations: 0.6072 MB / 1.192 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002556/1.105, allocations: 2.144 MB / 1.194 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006875/1.105, allocations: 448.7 kB / 1.194 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/1.107, allocations: 0.7117 MB / 1.195 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007366/1.108, allocations: 0.5174 MB / 1.195 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/1.108, allocations: 24 kB / 1.195 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/1.11, allocations: 0.8769 MB / 1.196 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/1.11, allocations: 223.3 kB / 1.196 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/1.11, allocations: 165.3 kB / 1.196 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/1.111, allocations: 0.9548 MB / 1.197 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.111, allocations: 4 kB / 1.197 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.274e-06/1.111, allocations: 0 / 1.197 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.338e-06/1.111, allocations: 0 / 1.197 GB, free: 12.28 MB / 0.9512 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.00163/1.113, allocations: 0.9733 MB / 1.198 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.113, allocations: 16.02 kB / 1.198 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/1.114, allocations: 206.9 kB / 1.199 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/1.115, allocations: 0.5542 MB / 1.199 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/1.115, allocations: 33 kB / 1.199 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.793e-05/1.115, allocations: 51.92 kB / 1.199 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009216/1.116, allocations: 0.4945 MB / 1.2 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/1.116, allocations: 0 / 1.2 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/1.116, allocations: 20 kB / 1.2 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/1.116, allocations: 20.95 kB / 1.2 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007496/1.117, allocations: 447.7 kB / 1.2 GB, free: 9.379 MB / 0.9512 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.002707/1.12, allocations: 2.021 MB / 1.202 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/1.121, allocations: 347.5 kB / 1.202 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/1.121, allocations: 214.9 kB / 1.203 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/1.121, allocations: 194.5 kB / 1.203 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/1.121, allocations: 38.78 kB / 1.203 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/1.121, allocations: 4 kB / 1.203 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.001318/1.123, allocations: 0.5527 MB / 1.203 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/1.123, allocations: 55.41 kB / 1.203 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/1.123, allocations: 0.4991 MB / 1.204 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/1.123, allocations: 37.7 kB / 1.204 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/1.124, allocations: 304.2 kB / 1.204 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/1.124, allocations: 114.3 kB / 1.204 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/1.124, allocations: 8 kB / 1.204 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002222/1.124, allocations: 374.7 kB / 1.205 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/1.124, allocations: 140.6 kB / 1.205 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/1.125, allocations: 216 kB / 1.205 GB, free: 4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/1.125, allocations: 160.8 kB / 1.205 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.125, allocations: 0 / 1.205 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008165/1.126, allocations: 444.3 kB / 1.206 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/1.126, allocations: 122 kB / 1.206 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/1.126, allocations: 0 / 1.206 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.126, allocations: 4 kB / 1.206 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/1.127, allocations: 75.89 kB / 1.206 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/1.127, allocations: 4 kB / 1.206 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/1.127, allocations: 67.59 kB / 1.206 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/1.127, allocations: 16 kB / 1.206 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/1.127, allocations: 4 kB / 1.206 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000652/1.128, allocations: 347.9 kB / 1.206 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/1.128, allocations: 3.938 kB / 1.206 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/1.128, allocations: 4 kB / 1.206 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/1.128, allocations: 75.89 kB / 1.206 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.128, allocations: 12.03 kB / 1.206 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/1.129, allocations: 63.64 kB / 1.206 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/1.129, allocations: 12 kB / 1.206 GB, free: 2.594 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003443/1.129, allocations: 290.5 kB / 1.207 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/1.129, allocations: 59.3 kB / 1.207 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007779/1.13, allocations: 431.1 kB / 1.207 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/1.13, allocations: 7.984 kB / 1.207 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.13, allocations: 0 / 1.207 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005808/1.131, allocations: 441.6 kB / 1.208 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/1.132, allocations: 1.187 MB / 1.209 GB, free: 84 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.132, allocations: 3.938 kB / 1.209 GB, free: 80 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/1.133, allocations: 84 kB / 1.209 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.133, allocations: 7.938 kB / 1.209 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/1.133, allocations: 8 kB / 1.209 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.133, allocations: 0 / 1.209 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.133, allocations: 4 kB / 1.209 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/1.134, allocations: 0.7274 MB / 1.21 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/1.134, allocations: 180.3 kB / 1.21 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/1.134, allocations: 12 kB / 1.21 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/1.135, allocations: 51.95 kB / 1.21 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/1.135, allocations: 35.92 kB / 1.21 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/1.135, allocations: 8 kB / 1.21 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004122/1.135, allocations: 362.8 kB / 1.21 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.135, allocations: 0 / 1.21 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008988/1.136, allocations: 327.2 kB / 1.211 GB, free: 14.24 MB / 0.9669 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 (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.0004603/1.137, allocations: 188.8 kB / 1.211 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009548/1.138, allocations: 0.5267 MB / 1.211 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.138, allocations: 3.938 kB / 1.211 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/1.138, allocations: 189.2 kB / 1.211 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/1.14, allocations: 370.1 kB / 1.212 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/1.142, allocations: 1.551 MB / 1.213 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/1.142, allocations: 0.9295 MB / 1.214 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006518/1.143, allocations: 184.8 kB / 1.214 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/1.143, allocations: 51.42 kB / 1.214 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/1.143, allocations: 3.938 kB / 1.214 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of Templates: time 0.02115/1.164, allocations: 10.92 MB / 1.225 GB, free: 15.43 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches