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.004829/0.004829, allocations: 100.3 kB / 15.73 MB, free: 6.031 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.001146/0.001146, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.398/2.398, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.09 kB / 0.9508 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.313, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.9775/1.291, allocations: 181.9 MB / 1.266 GB, free: 3.578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009091/1.3, allocations: 5.355 MB / 1.271 GB, free: 3.535 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/1.301, allocations: 34.75 kB / 1.271 GB, free: 3.535 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/1.303, allocations: 440.4 kB / 1.271 GB, free: 3.527 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006492/1.309, allocations: 1.676 MB / 1.273 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002693/1.312, allocations: 0.807 MB / 1.274 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004683/1.317, allocations: 2.195 MB / 1.276 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/1.318, allocations: 0.6864 MB / 1.276 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/1.321, allocations: 0.764 MB / 1.277 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/1.323, allocations: 0.6852 MB / 1.278 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002739/1.324, allocations: 76.62 kB / 1.278 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00573/1.329, allocations: 1.395 MB / 1.279 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007732/1.33, allocations: 327.6 kB / 1.28 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/1.331, allocations: 471.2 kB / 1.28 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007793/1.339, allocations: 1.662 MB / 1.282 GB, free: 3.273 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.339, allocations: 1.094 kB / 1.282 GB, free: 3.273 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.284e-06/1.339, allocations: 3.109 kB / 1.282 GB, free: 3.273 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.402e-05/1.339, allocations: 0 / 1.282 GB, free: 3.273 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.003613/1.343, allocations: 1.177 MB / 1.283 GB, free: 2.594 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.597e-05/1.343, allocations: 10.09 kB / 1.283 GB, free: 2.594 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/1.347, allocations: 278.9 kB / 1.283 GB, free: 2.551 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/1.349, allocations: 0.7021 MB / 1.284 GB, free: 2.262 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/1.349, allocations: 49.28 kB / 1.284 GB, free: 2.262 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/1.349, allocations: 63.88 kB / 1.284 GB, free: 2.254 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/1.351, allocations: 0.5797 MB / 1.284 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/1.351, allocations: 3.938 kB / 1.284 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/1.351, allocations: 25.19 kB / 1.284 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.51e-05/1.351, allocations: 24.98 kB / 1.285 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/1.353, allocations: 0.5032 MB / 1.285 GB, free: 2.195 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.00616/1.359, allocations: 2.368 MB / 1.287 GB, free: 1.121 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/1.361, allocations: 439.3 kB / 1.288 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/1.361, allocations: 219.6 kB / 1.288 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/1.362, allocations: 97.17 kB / 1.288 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/1.362, allocations: 42.23 kB / 1.288 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.727e-06/1.362, allocations: 0.5938 kB / 1.288 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.005655/1.367, allocations: 1.439 MB / 1.289 GB, free: 16.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/1.367, allocations: 57.09 kB / 1.29 GB, free: 16.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/1.369, allocations: 0.5416 MB / 1.29 GB, free: 16.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.23e-05/1.369, allocations: 36.39 kB / 1.29 GB, free: 16.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/1.369, allocations: 326.8 kB / 1.29 GB, free: 16.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/1.369, allocations: 172.7 kB / 1.291 GB, free: 16.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/1.37, allocations: 86.95 kB / 1.291 GB, free: 16.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002707/1.37, allocations: 370.8 kB / 1.291 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/1.371, allocations: 176.9 kB / 1.291 GB, free: 15.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/1.371, allocations: 260 kB / 1.291 GB, free: 15.67 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.006033/1.377, allocations: 1.446 MB / 1.293 GB, free: 15.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.377, allocations: 0 / 1.293 GB, free: 15.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001709/1.379, allocations: 0.5317 MB / 1.293 GB, free: 15.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/1.379, allocations: 7.766 kB / 1.293 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.379, allocations: 1.844 kB / 1.293 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/1.379, allocations: 3.969 kB / 1.293 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/1.38, allocations: 96.39 kB / 1.293 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.38, allocations: 4.281 kB / 1.293 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.381, allocations: 22.31 kB / 1.294 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/1.381, allocations: 18.06 kB / 1.294 GB, free: 15.33 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.0006743/1.382, allocations: 246.2 kB / 1.294 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/1.382, allocations: 68.94 kB / 1.294 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/1.383, allocations: 79.14 kB / 1.294 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.383, allocations: 12.33 kB / 1.294 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/1.383, allocations: 0 / 1.294 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/1.384, allocations: 0.5152 MB / 1.294 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004303/1.388, allocations: 1.59 MB / 1.296 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/1.388, allocations: 8.969 kB / 1.296 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.389, allocations: 113.7 kB / 1.296 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/1.389, allocations: 7.812 kB / 1.296 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/1.389, allocations: 18.59 kB / 1.296 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/1.389, allocations: 11.8 kB / 1.296 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.389, allocations: 10.62 kB / 1.296 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/1.392, allocations: 0.8946 MB / 1.297 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/1.392, allocations: 201.2 kB / 1.297 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.392, allocations: 17.23 kB / 1.297 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009711/1.393, allocations: 23.88 kB / 1.297 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.394, allocations: 46.8 kB / 1.297 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/1.394, allocations: 22.39 kB / 1.297 GB, free: 14.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008663/1.395, allocations: 399.3 kB / 1.298 GB, free: 13.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.643e-06/1.395, allocations: 0 / 1.298 GB, free: 13.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001365/1.396, allocations: 202.2 kB / 1.298 GB, free: 13.96 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.000725/1.397, allocations: 195.1 kB / 1.298 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001531/1.398, allocations: 447.7 kB / 1.298 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.398, allocations: 1.781 kB / 1.298 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006799/1.399, allocations: 231.8 kB / 1.299 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004362/1.403, allocations: 499.7 kB / 1.299 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/1.409, allocations: 1.542 MB / 1.301 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.41, allocations: 0.979 MB / 1.302 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001401/1.411, allocations: 165.2 kB / 1.302 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/1.411, allocations: 62.38 kB / 1.302 GB, free: 12.36 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/1.411, allocations: 0 / 1.302 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Templates: time 0.05152/1.463, allocations: 15.15 MB / 1.317 GB, free: 11.33 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches