Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 158.2 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.913/2.913, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 71.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9631/0.9652, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04804/1.013, allocations: 45.89 MB / 1.231 GB, free: 1.301 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02253/1.036, allocations: 11.86 MB / 1.243 GB, free: 9.152 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003894/1.04, allocations: 110.5 kB / 1.243 GB, free: 9.094 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002827/1.042, allocations: 0.7548 MB / 1.244 GB, free: 8.641 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007174/1.05, allocations: 1.94 MB / 1.246 GB, free: 7.535 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00496/1.055, allocations: 1.389 MB / 1.247 GB, free: 6.801 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006367/1.061, allocations: 3.286 MB / 1.25 GB, free: 5.285 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/1.063, allocations: 0.9676 MB / 1.251 GB, free: 4.781 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005215/1.068, allocations: 1.547 MB / 1.253 GB, free: 4.086 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/1.071, allocations: 0.9181 MB / 1.254 GB, free: 3.578 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002975/1.071, allocations: 95.94 kB / 1.254 GB, free: 3.578 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/1.074, allocations: 0.8841 MB / 1.255 GB, free: 3.148 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004686/1.075, allocations: 305.7 kB / 1.255 GB, free: 2.906 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/1.076, allocations: 0.5482 MB / 1.255 GB, free: 2.586 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004513/1.08, allocations: 2.024 MB / 1.257 GB, free: 1.309 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.08, allocations: 1.188 kB / 1.257 GB, free: 1.309 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.413e-06/1.08, allocations: 4 kB / 1.257 GB, free: 1.305 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.46e-05/1.08, allocations: 0 / 1.257 GB, free: 1.305 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00308/1.083, allocations: 1.676 MB / 1.259 GB, free: 44 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.083, allocations: 8.25 kB / 1.259 GB, free: 44 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000876/1.084, allocations: 222.2 kB / 1.259 GB, free: 15.93 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/1.087, allocations: 1.044 MB / 1.26 GB, free: 15.15 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.732e-05/1.087, allocations: 69.97 kB / 1.26 GB, free: 15.12 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.087, allocations: 83.28 kB / 1.26 GB, free: 15.09 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/1.089, allocations: 1.131 MB / 1.262 GB, free: 14.25 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/1.089, allocations: 5.219 kB / 1.262 GB, free: 14.24 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/1.089, allocations: 38.34 kB / 1.262 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/1.089, allocations: 25.62 kB / 1.262 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/1.091, allocations: 0.6477 MB / 1.262 GB, free: 13.9 MB / 1.123 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.005812/1.097, allocations: 3.798 MB / 1.266 GB, free: 10.66 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/1.098, allocations: 378.2 kB / 1.266 GB, free: 10.47 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/1.098, allocations: 207.4 kB / 1.267 GB, free: 10.36 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004176/1.099, allocations: 105.4 kB / 1.267 GB, free: 10.32 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/1.099, allocations: 37.72 kB / 1.267 GB, free: 10.28 MB / 1.123 GB Notification: Performance of pre-optimization done (n=29): time 2.294e-06/1.099, allocations: 0 / 1.267 GB, free: 10.28 MB / 1.123 GB Notification: Performance of matching and sorting (n=29): time 0.002968/1.102, allocations: 0.8387 MB / 1.267 GB, free: 9.855 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/1.102, allocations: 54.62 kB / 1.268 GB, free: 9.793 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.103, allocations: 0.8776 MB / 1.268 GB, free: 9.285 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/1.103, allocations: 32.48 kB / 1.268 GB, free: 9.25 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/1.104, allocations: 0.6046 MB / 1.269 GB, free: 8.711 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/1.104, allocations: 108.6 kB / 1.269 GB, free: 8.617 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/1.104, allocations: 113.2 kB / 1.269 GB, free: 8.547 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.104, allocations: 331 kB / 1.27 GB, free: 8.223 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/1.105, allocations: 194.5 kB / 1.27 GB, free: 8.133 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008738/1.106, allocations: 0.5518 MB / 1.27 GB, free: 7.598 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/1.107, allocations: 0.5983 MB / 1.271 GB, free: 7.141 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.107, allocations: 2.094 kB / 1.271 GB, free: 7.141 MB / 1.123 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00185/1.109, allocations: 0.7513 MB / 1.272 GB, free: 6.738 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.109, allocations: 8.188 kB / 1.272 GB, free: 6.738 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.109, allocations: 6.781 kB / 1.272 GB, free: 6.738 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007161/1.11, allocations: 149 kB / 1.272 GB, free: 6.664 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/1.11, allocations: 150.6 kB / 1.272 GB, free: 6.617 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/1.112, allocations: 1.726 MB / 1.274 GB, free: 4.934 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008535/1.113, allocations: 73.98 kB / 1.274 GB, free: 4.891 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/1.113, allocations: 35.67 kB / 1.274 GB, free: 4.879 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005891/1.113, allocations: 268.2 kB / 1.274 GB, free: 4.672 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/1.113, allocations: 101.2 kB / 1.274 GB, free: 4.617 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/1.115, allocations: 0.7212 MB / 1.275 GB, free: 4.199 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.115, allocations: 2.438 kB / 1.275 GB, free: 4.199 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.115, allocations: 1.094 kB / 1.275 GB, free: 4.199 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.115, allocations: 7.922 kB / 1.275 GB, free: 4.191 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/1.119, allocations: 1.446 MB / 1.276 GB, free: 3.227 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.119, allocations: 2.938 kB / 1.276 GB, free: 3.227 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/1.119, allocations: 85.75 kB / 1.276 GB, free: 3.199 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006053/1.12, allocations: 158.5 kB / 1.276 GB, free: 3.109 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/1.12, allocations: 8.25 kB / 1.276 GB, free: 3.105 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/1.121, allocations: 1.708 MB / 1.278 GB, free: 1.434 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.121, allocations: 6.219 kB / 1.278 GB, free: 1.43 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/1.123, allocations: 0.7809 MB / 1.279 GB, free: 0.918 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/1.124, allocations: 164.7 kB / 1.279 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.124, allocations: 12.64 kB / 1.279 GB, free: 0.793 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/1.124, allocations: 44.14 kB / 1.279 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/1.125, allocations: 39.23 kB / 1.279 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/1.125, allocations: 21.81 kB / 1.279 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008963/1.125, allocations: 0.578 MB / 1.28 GB, free: 412 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.125, allocations: 3.938 kB / 1.28 GB, free: 408 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.001471/1.127, allocations: 395.9 kB / 1.28 GB, free: 292 kB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007511/1.128, allocations: 384.6 kB / 1.28 GB, free: 64 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001778/1.129, allocations: 0.5316 MB / 1.281 GB, free: 15.83 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.129, allocations: 1.156 kB / 1.281 GB, free: 15.83 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/1.13, allocations: 282 kB / 1.281 GB, free: 15.7 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/1.133, allocations: 446.9 kB / 1.282 GB, free: 15.47 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/1.136, allocations: 1.832 MB / 1.283 GB, free: 14.34 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/1.137, allocations: 0.5178 MB / 1.284 GB, free: 14.04 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007774/1.137, allocations: 171.8 kB / 1.284 GB, free: 13.96 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/1.138, allocations: 66.77 kB / 1.284 GB, free: 13.94 MB / 1.139 GB Notification: Performance of SimCode: time 1.082e-06/1.138, allocations: 0 / 1.284 GB, free: 13.94 MB / 1.139 GB Notification: Performance of Templates: time 0.03607/1.174, allocations: 19.03 MB / 1.303 GB, free: 14.57 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.836638769018464]