Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.001256/0.001256, allocations: 77.86 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.001438/0.001438, allocations: 161.6 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.409/1.409, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.854/2.854, 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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [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.002304/0.002304, allocations: 67.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8909/0.8932, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2163/1.109, allocations: 160.7 MB / 1.344 GB, free: 5.113 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009043/1.119, allocations: 5.068 MB / 1.348 GB, free: 40 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009902/1.12, allocations: 43.73 kB / 1.349 GB, free: 15.99 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/1.121, allocations: 437.4 kB / 1.349 GB, free: 15.56 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004515/1.125, allocations: 1.746 MB / 1.351 GB, free: 13.81 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/1.127, allocations: 0.8241 MB / 1.351 GB, free: 12.99 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003132/1.131, allocations: 2.265 MB / 1.354 GB, free: 10.73 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008703/1.131, allocations: 0.5296 MB / 1.354 GB, free: 10.18 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/1.133, allocations: 0.9928 MB / 1.355 GB, free: 9.188 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/1.135, allocations: 0.6973 MB / 1.356 GB, free: 8.5 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/1.135, allocations: 79.94 kB / 1.356 GB, free: 8.422 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/1.138, allocations: 1.141 MB / 1.357 GB, free: 7.277 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004022/1.138, allocations: 335 kB / 1.357 GB, free: 6.949 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000518/1.139, allocations: 394.3 kB / 1.358 GB, free: 6.562 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/1.142, allocations: 1.635 MB / 1.359 GB, free: 4.922 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.142, allocations: 0 / 1.359 GB, free: 4.922 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.573e-06/1.142, allocations: 4 kB / 1.359 GB, free: 4.918 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.35e-05/1.142, allocations: 3.984 kB / 1.359 GB, free: 4.914 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001859/1.144, allocations: 1.131 MB / 1.36 GB, free: 3.746 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/1.144, allocations: 8.031 kB / 1.36 GB, free: 3.738 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/1.145, allocations: 279.2 kB / 1.361 GB, free: 3.465 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/1.147, allocations: 0.6461 MB / 1.361 GB, free: 2.789 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/1.147, allocations: 41.31 kB / 1.361 GB, free: 2.746 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/1.147, allocations: 60 kB / 1.361 GB, free: 2.688 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/1.148, allocations: 0.7773 MB / 1.362 GB, free: 1.859 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/1.148, allocations: 4 kB / 1.362 GB, free: 1.855 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/1.148, allocations: 31.98 kB / 1.362 GB, free: 1.824 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/1.148, allocations: 25.3 kB / 1.362 GB, free: 1.797 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009104/1.149, allocations: 0.4969 MB / 1.363 GB, free: 1.297 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/1.152, allocations: 1.474 MB / 1.364 GB, free: 15.79 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/1.153, allocations: 427.7 kB / 1.365 GB, free: 15.37 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/1.153, allocations: 207.1 kB / 1.365 GB, free: 15.16 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/1.153, allocations: 23.98 kB / 1.365 GB, free: 15.14 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/1.153, allocations: 42.5 kB / 1.365 GB, free: 15.09 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.265e-06/1.153, allocations: 0 / 1.365 GB, free: 15.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=48): time 0.002938/1.156, allocations: 1.366 MB / 1.366 GB, free: 13.69 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.156, allocations: 59.91 kB / 1.366 GB, free: 13.62 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/1.157, allocations: 474.8 kB / 1.367 GB, free: 13.14 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/1.157, allocations: 37.7 kB / 1.367 GB, free: 13.1 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/1.157, allocations: 340.9 kB / 1.367 GB, free: 12.76 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/1.157, allocations: 178.4 kB / 1.367 GB, free: 12.59 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/1.157, allocations: 94.19 kB / 1.367 GB, free: 12.49 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.158, allocations: 366.7 kB / 1.368 GB, free: 12.12 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/1.158, allocations: 176.8 kB / 1.368 GB, free: 11.95 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/1.158, allocations: 367 kB / 1.368 GB, free: 11.54 MB / 1.217 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/1.162, allocations: 1.3 MB / 1.369 GB, free: 10.23 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.162, allocations: 0 / 1.369 GB, free: 10.23 MB / 1.217 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009349/1.163, allocations: 0.5284 MB / 1.37 GB, free: 9.691 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.163, allocations: 8 kB / 1.37 GB, free: 9.684 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.163, allocations: 0 / 1.37 GB, free: 9.684 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.163, allocations: 4 kB / 1.37 GB, free: 9.68 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/1.163, allocations: 99.83 kB / 1.37 GB, free: 9.582 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/1.163, allocations: 8.156 kB / 1.37 GB, free: 9.574 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/1.164, allocations: 11.94 kB / 1.37 GB, free: 9.562 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/1.164, allocations: 19.98 kB / 1.37 GB, free: 9.543 MB / 1.217 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003789/1.164, allocations: 258.2 kB / 1.37 GB, free: 9.281 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/1.164, allocations: 63.58 kB / 1.37 GB, free: 9.219 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/1.165, allocations: 73.81 kB / 1.37 GB, free: 9.145 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.165, allocations: 8 kB / 1.37 GB, free: 9.137 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.165, allocations: 0 / 1.37 GB, free: 9.137 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007766/1.165, allocations: 0.5081 MB / 1.371 GB, free: 8.598 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/1.168, allocations: 1.368 MB / 1.372 GB, free: 7.133 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.168, allocations: 8 kB / 1.372 GB, free: 7.125 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/1.168, allocations: 115.8 kB / 1.372 GB, free: 7.012 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.168, allocations: 8 kB / 1.372 GB, free: 7.004 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/1.168, allocations: 16 kB / 1.372 GB, free: 6.988 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/1.168, allocations: 11.94 kB / 1.372 GB, free: 6.977 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/1.168, allocations: 4 kB / 1.372 GB, free: 6.973 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/1.17, allocations: 0.9012 MB / 1.373 GB, free: 5.996 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/1.17, allocations: 127.5 kB / 1.373 GB, free: 5.871 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/1.17, allocations: 12 kB / 1.373 GB, free: 5.859 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005213/1.171, allocations: 22.62 kB / 1.374 GB, free: 5.84 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/1.171, allocations: 51.81 kB / 1.374 GB, free: 5.789 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/1.171, allocations: 20 kB / 1.374 GB, free: 5.77 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000396/1.171, allocations: 334.8 kB / 1.374 GB, free: 5.445 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.171, allocations: 0 / 1.374 GB, free: 5.445 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006819/1.172, allocations: 199.9 kB / 1.374 GB, free: 5.25 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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 (49): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003228/1.172, allocations: 175 kB / 1.374 GB, free: 5.07 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008184/1.173, allocations: 426.2 kB / 1.375 GB, free: 4.652 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.173, allocations: 4.062 kB / 1.375 GB, free: 4.648 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000367/1.173, allocations: 219.7 kB / 1.375 GB, free: 4.434 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/1.175, allocations: 441 kB / 1.375 GB, free: 4.012 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/1.178, allocations: 1.558 MB / 1.377 GB, free: 2.359 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/1.178, allocations: 382.8 kB / 1.377 GB, free: 1.957 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005748/1.179, allocations: 145.3 kB / 1.377 GB, free: 1.812 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/1.179, allocations: 52.5 kB / 1.377 GB, free: 1.762 MB / 1.217 GB Notification: Performance of SimCode: time 7.81e-07/1.179, allocations: 0 / 1.377 GB, free: 1.762 MB / 1.217 GB Notification: Performance of Templates: time 0.02505/1.204, allocations: 14.44 MB / 1.391 GB, free: 3.672 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.250946044921875]