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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001289/0.00129, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 198.1 kB / 16.79 MB, free: 6.828 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.368/1.368, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6722/0.6737, allocations: 140.4 MB / 0.9496 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2016/0.8753, allocations: 179.6 MB / 1.125 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009307/0.8847, allocations: 5.437 MB / 1.13 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.8862, allocations: 31.81 kB / 1.13 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.8878, allocations: 370.1 kB / 1.131 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004851/0.8927, allocations: 1.564 MB / 1.132 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.8949, allocations: 0.7276 MB / 1.133 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003908/0.8988, allocations: 2.989 MB / 1.136 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.9, allocations: 0.5827 MB / 1.136 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.9017, allocations: 0.6378 MB / 1.137 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002429/0.9041, allocations: 0.6921 MB / 1.138 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002729/0.9044, allocations: 36 kB / 1.138 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003496/0.9079, allocations: 1.621 MB / 1.139 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005163/0.9084, allocations: 279.1 kB / 1.14 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009228/0.9094, allocations: 429.9 kB / 1.14 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.9114, allocations: 1.236 MB / 1.141 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9114, allocations: 0 / 1.141 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9114, allocations: 0 / 1.141 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.684e-05/0.9114, allocations: 0 / 1.141 GB, free: 13.2 MB / 0.9044 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.002564/0.914, allocations: 1.184 MB / 1.142 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.914, allocations: 8.031 kB / 1.142 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.9161, allocations: 278.6 kB / 1.143 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.9174, allocations: 0.667 MB / 1.143 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/0.9175, allocations: 45.31 kB / 1.143 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.9176, allocations: 63.97 kB / 1.143 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.9188, allocations: 0.5804 MB / 1.144 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.9188, allocations: 4 kB / 1.144 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.9189, allocations: 24 kB / 1.144 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.9189, allocations: 25.25 kB / 1.144 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009981/0.9199, allocations: 0.497 MB / 1.145 GB, free: 9.73 MB / 0.9044 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.003706/0.9236, allocations: 2.388 MB / 1.147 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008419/0.9245, allocations: 422.9 kB / 1.147 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.9249, allocations: 217.5 kB / 1.147 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.9251, allocations: 101.1 kB / 1.148 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.9251, allocations: 46.45 kB / 1.148 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 3.236e-06/0.9251, allocations: 7.938 kB / 1.148 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.003255/0.9284, allocations: 1.442 MB / 1.149 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.9285, allocations: 55.84 kB / 1.149 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/0.9291, allocations: 0.5422 MB / 1.15 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.9292, allocations: 37.7 kB / 1.15 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.9294, allocations: 328.6 kB / 1.15 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.9296, allocations: 165.6 kB / 1.15 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.9298, allocations: 90.16 kB / 1.15 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9299, allocations: 378.7 kB / 1.151 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.9302, allocations: 173 kB / 1.151 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.9306, allocations: 260.8 kB / 1.151 GB, free: 2.762 MB / 0.9044 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.003453/0.9341, allocations: 1.441 MB / 1.152 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9341, allocations: 4 kB / 1.152 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009556/0.9351, allocations: 0.5266 MB / 1.153 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.9351, allocations: 9.875 kB / 1.153 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.9351, allocations: 0 / 1.153 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.9352, allocations: 7.938 kB / 1.153 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.9356, allocations: 95.89 kB / 1.153 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.9356, allocations: 4 kB / 1.153 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.9364, allocations: 43.88 kB / 1.153 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.9364, allocations: 19.94 kB / 1.153 GB, free: 0.5547 MB / 0.9044 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.0003874/0.9368, allocations: 255 kB / 1.153 GB, free: 304 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.937, allocations: 67.16 kB / 1.153 GB, free: 236 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.9372, allocations: 78.45 kB / 1.153 GB, free: 160 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9372, allocations: 8 kB / 1.153 GB, free: 152 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.9372, allocations: 0 / 1.153 GB, free: 152 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007814/0.938, allocations: 0.5146 MB / 1.154 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.9406, allocations: 1.581 MB / 1.155 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.9407, allocations: 4 kB / 1.155 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/0.9412, allocations: 115.8 kB / 1.156 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.9412, allocations: 11.94 kB / 1.156 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.9413, allocations: 16 kB / 1.156 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.9413, allocations: 15.92 kB / 1.156 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.9413, allocations: 8.406 kB / 1.156 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.9425, allocations: 0.895 MB / 1.157 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.9429, allocations: 196.2 kB / 1.157 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.943, allocations: 19.98 kB / 1.157 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/0.9436, allocations: 35.83 kB / 1.157 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.9437, allocations: 51.77 kB / 1.157 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.9438, allocations: 20 kB / 1.157 GB, free: 12.43 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000497/0.9443, allocations: 402.8 kB / 1.157 GB, free: 12.04 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9443, allocations: 0 / 1.157 GB, free: 12.04 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000774/0.9451, allocations: 196 kB / 1.157 GB, free: 11.85 MB / 0.92 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.0004869/0.9456, allocations: 204.4 kB / 1.158 GB, free: 11.65 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008411/0.9464, allocations: 429.3 kB / 1.158 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.9465, allocations: 4 kB / 1.158 GB, free: 11.22 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.9468, allocations: 233.2 kB / 1.158 GB, free: 11 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.9491, allocations: 475.7 kB / 1.159 GB, free: 10.54 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.9519, allocations: 1.871 MB / 1.161 GB, free: 8.574 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.9526, allocations: 0.9775 MB / 1.161 GB, free: 7.57 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.9528, allocations: 55.44 kB / 1.162 GB, free: 7.516 MB / 0.92 GB Notification: Performance of SimCode: time 2.234e-06/0.9528, allocations: 0 / 1.162 GB, free: 7.516 MB / 0.92 GB Notification: Performance of Templates: time 0.01849/0.9713, allocations: 11.6 MB / 1.173 GB, free: 12.02 MB / 0.9356 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