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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001546/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001723/0.001723, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.003/3.003, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 65.69 kB / 0.9114 GB, free: 33.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3448, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2052/0.55, allocations: 179.7 MB / 1.243 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009152/0.5592, allocations: 5.42 MB / 1.248 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.5608, allocations: 31.81 kB / 1.248 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.5623, allocations: 374.1 kB / 1.249 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7337/1.296, allocations: 1.567 MB / 1.25 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/1.299, allocations: 0.7225 MB / 1.251 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004985/1.304, allocations: 2.981 MB / 1.254 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/1.305, allocations: 0.5874 MB / 1.254 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/1.306, allocations: 0.6389 MB / 1.255 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/1.309, allocations: 0.6951 MB / 1.256 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/1.309, allocations: 34.66 kB / 1.256 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/1.312, allocations: 1.62 MB / 1.257 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004376/1.313, allocations: 282.1 kB / 1.258 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007461/1.314, allocations: 428 kB / 1.258 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004076/1.318, allocations: 1.708 MB / 1.26 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/1.318, allocations: 0 / 1.26 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.054e-06/1.318, allocations: 0 / 1.26 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.896e-05/1.318, allocations: 0 / 1.26 GB, free: 6.617 MB / 0.9981 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.003197/1.321, allocations: 1.18 MB / 1.261 GB, free: 21.94 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.321, allocations: 8.312 kB / 1.261 GB, free: 21.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/1.323, allocations: 277.6 kB / 1.261 GB, free: 21.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/1.324, allocations: 0.6666 MB / 1.262 GB, free: 21.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/1.324, allocations: 51.83 kB / 1.262 GB, free: 21.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/1.325, allocations: 64.25 kB / 1.262 GB, free: 21.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/1.326, allocations: 0.5806 MB / 1.262 GB, free: 21.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/1.326, allocations: 0 / 1.262 GB, free: 21.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-05/1.326, allocations: 28.33 kB / 1.262 GB, free: 21.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/1.326, allocations: 21 kB / 1.262 GB, free: 21.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/1.327, allocations: 0.504 MB / 1.263 GB, free: 21.54 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.004071/1.331, allocations: 2.38 MB / 1.265 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008333/1.332, allocations: 437.5 kB / 1.266 GB, free: 20.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/1.332, allocations: 216.5 kB / 1.266 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/1.333, allocations: 105.3 kB / 1.266 GB, free: 20.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/1.333, allocations: 40.97 kB / 1.266 GB, free: 20.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.787e-06/1.333, allocations: 0 / 1.266 GB, free: 20.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.003295/1.336, allocations: 1.443 MB / 1.267 GB, free: 19.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/1.336, allocations: 57.69 kB / 1.268 GB, free: 19.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008733/1.337, allocations: 0.5351 MB / 1.268 GB, free: 19.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/1.337, allocations: 36.73 kB / 1.268 GB, free: 19.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000262/1.337, allocations: 330.7 kB / 1.268 GB, free: 19.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/1.337, allocations: 167.6 kB / 1.269 GB, free: 19.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/1.338, allocations: 87.06 kB / 1.269 GB, free: 19.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.338, allocations: 372.8 kB / 1.269 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/1.338, allocations: 179.6 kB / 1.269 GB, free: 19.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/1.339, allocations: 258.8 kB / 1.269 GB, free: 18.99 MB / 1.014 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.00363/1.342, allocations: 1.443 MB / 1.271 GB, free: 18.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.342, allocations: 6.188 kB / 1.271 GB, free: 18.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001057/1.343, allocations: 0.5246 MB / 1.271 GB, free: 18.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.343, allocations: 8.25 kB / 1.271 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.343, allocations: 7.5 kB / 1.271 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/1.343, allocations: 9.641 kB / 1.271 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/1.344, allocations: 95.75 kB / 1.271 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.344, allocations: 3.812 kB / 1.271 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/1.345, allocations: 42.09 kB / 1.271 GB, free: 18.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/1.345, allocations: 16.12 kB / 1.271 GB, free: 18.63 MB / 1.014 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.0004189/1.345, allocations: 257.7 kB / 1.272 GB, free: 18.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.345, allocations: 65.19 kB / 1.272 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/1.345, allocations: 83.77 kB / 1.272 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.345, allocations: 4.656 kB / 1.272 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.345, allocations: 0.5625 kB / 1.272 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000866/1.346, allocations: 0.5093 MB / 1.272 GB, free: 18.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/1.349, allocations: 1.581 MB / 1.274 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/1.349, allocations: 5.188 kB / 1.274 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/1.35, allocations: 121.8 kB / 1.274 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/1.35, allocations: 6.312 kB / 1.274 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/1.35, allocations: 23.42 kB / 1.274 GB, free: 17.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/1.35, allocations: 10.02 kB / 1.274 GB, free: 17.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.35, allocations: 6.75 kB / 1.274 GB, free: 17.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/1.351, allocations: 0.8919 MB / 1.275 GB, free: 17.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/1.352, allocations: 197 kB / 1.275 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/1.352, allocations: 21.86 kB / 1.275 GB, free: 17.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/1.353, allocations: 37.27 kB / 1.275 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.353, allocations: 50.66 kB / 1.275 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/1.353, allocations: 22.75 kB / 1.275 GB, free: 17.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000635/1.353, allocations: 398.5 kB / 1.276 GB, free: 17.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.353, allocations: 3.656 kB / 1.276 GB, free: 17.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008748/1.354, allocations: 202.6 kB / 1.276 GB, free: 17.23 MB / 1.014 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.0005134/1.355, allocations: 187.5 kB / 1.276 GB, free: 17.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009317/1.356, allocations: 431 kB / 1.276 GB, free: 17.13 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.356, allocations: 7.656 kB / 1.276 GB, free: 17.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/1.356, allocations: 236.9 kB / 1.277 GB, free: 17.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.358, allocations: 485.4 kB / 1.277 GB, free: 17.08 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/1.361, allocations: 1.831 MB / 1.279 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/1.362, allocations: 0.9748 MB / 1.28 GB, free: 15.28 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008789/1.363, allocations: 169.1 kB / 1.28 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/1.363, allocations: 56.38 kB / 1.28 GB, free: 15.24 MB / 1.014 GB Notification: Performance of SimCode: time 1.182e-06/1.363, allocations: 0 / 1.28 GB, free: 15.24 MB / 1.014 GB Notification: Performance of Templates: time 0.02808/1.391, allocations: 14.14 MB / 1.294 GB, free: 14.34 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches