Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_9_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_9_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.001479/0.001478, allocations: 105 kB / 16.41 MB, free: 6.465 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.001594/0.001594, allocations: 187 kB / 17.34 MB, free: 5.719 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8671/0.8686, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2422/1.111, allocations: 181.9 MB / 1.266 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009362/1.12, allocations: 5.368 MB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/1.122, allocations: 35.81 kB / 1.272 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/1.124, allocations: 445.4 kB / 1.272 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004994/1.129, allocations: 1.741 MB / 1.274 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/1.131, allocations: 0.8136 MB / 1.274 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003361/1.134, allocations: 2.195 MB / 1.277 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/1.136, allocations: 0.6774 MB / 1.277 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/1.137, allocations: 0.784 MB / 1.278 GB, free: 11.69 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/1.139, allocations: 0.6857 MB / 1.279 GB, free: 11.01 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002574/1.14, allocations: 76 kB / 1.279 GB, free: 10.94 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/1.143, allocations: 1.403 MB / 1.28 GB, free: 9.531 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005025/1.143, allocations: 319.2 kB / 1.28 GB, free: 9.219 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009472/1.144, allocations: 469.9 kB / 1.281 GB, free: 8.758 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003376/1.148, allocations: 1.663 MB / 1.282 GB, free: 7.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.148, allocations: 0 / 1.282 GB, free: 7.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.625e-06/1.148, allocations: 4 kB / 1.282 GB, free: 7.086 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.886e-05/1.148, allocations: 4 kB / 1.282 GB, free: 7.082 MB / 1.014 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.003223/1.151, allocations: 1.18 MB / 1.284 GB, free: 5.848 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.151, allocations: 12.03 kB / 1.284 GB, free: 5.836 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/1.153, allocations: 270.7 kB / 1.284 GB, free: 5.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/1.155, allocations: 0.7061 MB / 1.285 GB, free: 4.824 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/1.155, allocations: 41.31 kB / 1.285 GB, free: 4.785 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/1.155, allocations: 67.91 kB / 1.285 GB, free: 4.719 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.157, allocations: 0.5843 MB / 1.285 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/1.157, allocations: 0 / 1.285 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/1.157, allocations: 27.98 kB / 1.285 GB, free: 4.098 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/1.157, allocations: 21.31 kB / 1.285 GB, free: 4.078 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/1.158, allocations: 0.5048 MB / 1.286 GB, free: 3.574 MB / 1.014 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.004241/1.162, allocations: 2.372 MB / 1.288 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/1.163, allocations: 430.8 kB / 1.289 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/1.163, allocations: 220.8 kB / 1.289 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/1.164, allocations: 93.09 kB / 1.289 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/1.164, allocations: 42.56 kB / 1.289 GB, free: 208 kB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.875e-06/1.164, allocations: 3.938 kB / 1.289 GB, free: 204 kB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.003419/1.167, allocations: 1.433 MB / 1.29 GB, free: 14.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.167, allocations: 55.84 kB / 1.29 GB, free: 14.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000728/1.168, allocations: 0.5383 MB / 1.291 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/1.168, allocations: 37.7 kB / 1.291 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/1.168, allocations: 336.6 kB / 1.291 GB, free: 13.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/1.168, allocations: 169.5 kB / 1.291 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/1.168, allocations: 86.25 kB / 1.291 GB, free: 13.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.169, allocations: 374.7 kB / 1.292 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/1.169, allocations: 177 kB / 1.292 GB, free: 12.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/1.169, allocations: 264.8 kB / 1.292 GB, free: 12.63 MB / 1.029 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.003259/1.173, allocations: 1.44 MB / 1.294 GB, free: 11.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.173, allocations: 0 / 1.294 GB, free: 11.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008964/1.174, allocations: 0.5304 MB / 1.294 GB, free: 10.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.174, allocations: 4 kB / 1.294 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.174, allocations: 3.984 kB / 1.294 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.174, allocations: 16.19 kB / 1.294 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/1.174, allocations: 91.84 kB / 1.294 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.174, allocations: 4 kB / 1.294 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/1.175, allocations: 26.08 kB / 1.294 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/1.175, allocations: 19.94 kB / 1.294 GB, free: 10.44 MB / 1.029 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.0003618/1.175, allocations: 245.7 kB / 1.295 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/1.175, allocations: 71.19 kB / 1.295 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/1.175, allocations: 82.45 kB / 1.295 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/1.175, allocations: 4 kB / 1.295 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.175, allocations: 4 kB / 1.295 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007161/1.176, allocations: 0.5067 MB / 1.295 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/1.179, allocations: 1.6 MB / 1.297 GB, free: 7.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.179, allocations: 4 kB / 1.297 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/1.179, allocations: 107.8 kB / 1.297 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/1.179, allocations: 8 kB / 1.297 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/1.179, allocations: 20.61 kB / 1.297 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/1.179, allocations: 8 kB / 1.297 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.179, allocations: 15.88 kB / 1.297 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/1.181, allocations: 0.8906 MB / 1.298 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/1.181, allocations: 200.2 kB / 1.298 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.181, allocations: 19.92 kB / 1.298 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/1.182, allocations: 21.62 kB / 1.298 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/1.182, allocations: 55.7 kB / 1.298 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/1.182, allocations: 27.98 kB / 1.298 GB, free: 6.309 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005004/1.182, allocations: 390.8 kB / 1.298 GB, free: 5.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.6e-07/1.182, allocations: 0 / 1.298 GB, free: 5.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006969/1.183, allocations: 200 kB / 1.299 GB, free: 5.734 MB / 1.029 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.0004722/1.183, allocations: 193.7 kB / 1.299 GB, free: 5.547 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008225/1.184, allocations: 441.2 kB / 1.299 GB, free: 5.117 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.184, allocations: 7.938 kB / 1.299 GB, free: 5.109 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003732/1.185, allocations: 232.7 kB / 1.3 GB, free: 4.883 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/1.187, allocations: 489.6 kB / 1.3 GB, free: 4.414 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/1.19, allocations: 1.592 MB / 1.302 GB, free: 2.727 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/1.19, allocations: 0.9809 MB / 1.302 GB, free: 1.719 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/1.19, allocations: 59.38 kB / 1.303 GB, free: 1.66 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/1.19, allocations: 0 / 1.303 GB, free: 1.66 MB / 1.029 GB Notification: Performance of Templates: time 0.01857/1.209, allocations: 11.69 MB / 1.314 GB, free: 6.082 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches