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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.003168/0.003168, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.497/2.497, allocations: 469.4 MB / 0.7423 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 64.59 kB / 0.9083 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3159, allocations: 159.1 MB / 1.064 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.824/1.14, allocations: 179.5 MB / 1.239 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009151/1.149, allocations: 5.319 MB / 1.244 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/1.15, allocations: 27.81 kB / 1.244 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/1.152, allocations: 386.1 kB / 1.245 GB, free: 480 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004601/1.156, allocations: 1.576 MB / 1.246 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/1.159, allocations: 0.7313 MB / 1.247 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003293/1.162, allocations: 2.199 MB / 1.249 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/1.163, allocations: 0.6743 MB / 1.25 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/1.164, allocations: 0.7471 MB / 1.25 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/1.166, allocations: 0.7227 MB / 1.251 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/1.167, allocations: 76 kB / 1.251 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/1.17, allocations: 1.469 MB / 1.253 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004251/1.17, allocations: 327.1 kB / 1.253 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008115/1.171, allocations: 469.9 kB / 1.253 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/1.173, allocations: 1.247 MB / 1.255 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.173, allocations: 0 / 1.255 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.853e-06/1.173, allocations: 0 / 1.255 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.535e-05/1.173, allocations: 0 / 1.255 GB, free: 6.238 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002704/1.176, allocations: 1.188 MB / 1.256 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/1.176, allocations: 8.031 kB / 1.256 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/1.178, allocations: 274.7 kB / 1.256 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/1.179, allocations: 0.6632 MB / 1.257 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/1.179, allocations: 55.98 kB / 1.257 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/1.179, allocations: 71.88 kB / 1.257 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/1.18, allocations: 0.5765 MB / 1.257 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/1.18, allocations: 4 kB / 1.257 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/1.181, allocations: 24 kB / 1.257 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/1.181, allocations: 17.31 kB / 1.257 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009114/1.181, allocations: 0.5009 MB / 1.258 GB, free: 2.762 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.003686/1.185, allocations: 2.385 MB / 1.26 GB, free: 192 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/1.186, allocations: 421.6 kB / 1.261 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/1.186, allocations: 234.9 kB / 1.261 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/1.187, allocations: 97.09 kB / 1.261 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.187, allocations: 42.52 kB / 1.261 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.394e-06/1.187, allocations: 0 / 1.261 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.003398/1.19, allocations: 1.442 MB / 1.262 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/1.19, allocations: 59.84 kB / 1.262 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007131/1.191, allocations: 0.5383 MB / 1.263 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/1.191, allocations: 37.7 kB / 1.263 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/1.191, allocations: 328.6 kB / 1.263 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/1.191, allocations: 169.5 kB / 1.263 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/1.192, allocations: 86.25 kB / 1.264 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.192, allocations: 374.7 kB / 1.264 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/1.192, allocations: 181 kB / 1.264 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/1.192, allocations: 256.8 kB / 1.264 GB, free: 11.81 MB / 0.9825 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.003509/1.196, allocations: 1.449 MB / 1.266 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.196, allocations: 0 / 1.266 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009731/1.197, allocations: 0.5304 MB / 1.266 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.197, allocations: 4 kB / 1.266 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.197, allocations: 4 kB / 1.266 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.197, allocations: 0 / 1.266 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/1.198, allocations: 95.89 kB / 1.266 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/1.198, allocations: 7.938 kB / 1.266 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008244/1.198, allocations: 50.66 kB / 1.266 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/1.198, allocations: 16 kB / 1.266 GB, free: 9.602 MB / 0.9825 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.0004641/1.199, allocations: 257.1 kB / 1.267 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/1.199, allocations: 71.16 kB / 1.267 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/1.199, allocations: 86.48 kB / 1.267 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/1.199, allocations: 8 kB / 1.267 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.199, allocations: 0 / 1.267 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008242/1.2, allocations: 0.5105 MB / 1.267 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/1.203, allocations: 1.582 MB / 1.269 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.203, allocations: 7.984 kB / 1.269 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/1.204, allocations: 115.8 kB / 1.269 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/1.204, allocations: 4 kB / 1.269 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/1.204, allocations: 20.62 kB / 1.269 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/1.204, allocations: 7.984 kB / 1.269 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/1.204, allocations: 15.94 kB / 1.269 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/1.205, allocations: 0.895 MB / 1.27 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/1.206, allocations: 192.3 kB / 1.27 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/1.206, allocations: 20 kB / 1.27 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000709/1.207, allocations: 43.81 kB / 1.27 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/1.207, allocations: 39.84 kB / 1.27 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/1.207, allocations: 35.86 kB / 1.27 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005488/1.207, allocations: 402.8 kB / 1.271 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/1.207, allocations: 0 / 1.271 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007967/1.208, allocations: 200 kB / 1.271 GB, free: 4.867 MB / 0.9825 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.0005618/1.209, allocations: 194 kB / 1.271 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009863/1.21, allocations: 469.2 kB / 1.271 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.21, allocations: 4 kB / 1.271 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/1.21, allocations: 240.7 kB / 1.272 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/1.212, allocations: 495.4 kB / 1.272 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/1.216, allocations: 1.869 MB / 1.274 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007176/1.216, allocations: 0.9732 MB / 1.275 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/1.217, allocations: 63.42 kB / 1.275 GB, free: 492 kB / 0.9825 GB Notification: Performance of SimCode: time 6.71e-07/1.217, allocations: 0 / 1.275 GB, free: 492 kB / 0.9825 GB Notification: Performance of Templates: time 0.02067/1.237, allocations: 11.61 MB / 1.286 GB, free: 4.969 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) 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) Reference file matches