Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.001923/0.001923, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.666/2.666, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.89 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7345/0.7359, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.04433/0.7802, allocations: 40.33 MB / 1.26 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007362/0.7876, allocations: 4.087 MB / 1.264 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.7888, allocations: 39.75 kB / 1.264 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.7899, allocations: 353.7 kB / 1.265 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006043/0.796, allocations: 2.534 MB / 1.267 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.7983, allocations: 0.9314 MB / 1.268 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002828/0.8011, allocations: 2.206 MB / 1.27 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009671/0.8021, allocations: 0.6412 MB / 1.271 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004467/0.8066, allocations: 2.4 MB / 1.273 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.8077, allocations: 0.5522 MB / 1.274 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.8079, allocations: 56 kB / 1.274 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005632/0.8135, allocations: 3.201 MB / 1.277 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.8139, allocations: 179.3 kB / 1.277 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006658/0.8146, allocations: 398.1 kB / 1.277 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.8182, allocations: 1.827 MB / 1.279 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8183, allocations: 0 / 1.279 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8183, allocations: 4 kB / 1.279 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.338e-05/0.8183, allocations: 0 / 1.279 GB, free: 6.461 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002063/0.8204, allocations: 1.191 MB / 1.28 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8204, allocations: 8.031 kB / 1.28 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.8217, allocations: 151.9 kB / 1.281 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.8234, allocations: 0.7874 MB / 1.281 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.8234, allocations: 37 kB / 1.281 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.8235, allocations: 47.91 kB / 1.281 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008624/0.8244, allocations: 0.5157 MB / 1.282 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.8244, allocations: 3.938 kB / 1.282 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.8244, allocations: 24 kB / 1.282 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.8245, allocations: 12 kB / 1.282 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/0.8251, allocations: 347.7 kB / 1.282 GB, free: 3.223 MB / 0.9981 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.002841/0.8279, allocations: 2.444 MB / 1.285 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.8283, allocations: 268.8 kB / 1.285 GB, free: 344 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.8285, allocations: 140.8 kB / 1.285 GB, free: 200 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008947/0.8294, allocations: 1.371 MB / 1.286 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.8295, allocations: 38.5 kB / 1.286 GB, free: 14.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.384e-06/0.8295, allocations: 4 kB / 1.286 GB, free: 14.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.004243/0.8337, allocations: 1.801 MB / 1.288 GB, free: 12.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.8338, allocations: 59.34 kB / 1.288 GB, free: 12.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.8344, allocations: 0.499 MB / 1.289 GB, free: 11.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.8344, allocations: 33.7 kB / 1.289 GB, free: 11.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.8347, allocations: 324.4 kB / 1.289 GB, free: 11.62 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.8348, allocations: 153.8 kB / 1.289 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.8349, allocations: 94.16 kB / 1.289 GB, free: 11.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8351, allocations: 370.8 kB / 1.29 GB, free: 11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.8354, allocations: 155 kB / 1.29 GB, free: 10.85 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.8357, allocations: 262.8 kB / 1.29 GB, free: 10.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.8363, allocations: 448.8 kB / 1.29 GB, free: 10.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8363, allocations: 0 / 1.29 GB, free: 10.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001009/0.8373, allocations: 0.6032 MB / 1.291 GB, free: 9.457 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.8373, allocations: 4 kB / 1.291 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.8373, allocations: 4 kB / 1.291 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007319/0.8381, allocations: 205.8 kB / 1.291 GB, free: 9.242 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.8383, allocations: 71.91 kB / 1.291 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.8394, allocations: 1.354 MB / 1.293 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.8398, allocations: 12 kB / 1.293 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.8399, allocations: 27.98 kB / 1.293 GB, free: 7.727 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004071/0.8403, allocations: 309.2 kB / 1.293 GB, free: 7.422 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003113/0.8406, allocations: 258.5 kB / 1.293 GB, free: 7.125 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005614/0.8412, allocations: 438.8 kB / 1.294 GB, free: 6.656 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.938e-06/0.8412, allocations: 8 kB / 1.294 GB, free: 6.648 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.0009743/0.8422, allocations: 0.5991 MB / 1.294 GB, free: 6.035 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.8422, allocations: 8 kB / 1.294 GB, free: 6.027 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8422, allocations: 4 kB / 1.294 GB, free: 6.023 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000695/0.8429, allocations: 197.9 kB / 1.294 GB, free: 5.824 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.8431, allocations: 67.91 kB / 1.295 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00099/0.8441, allocations: 1.354 MB / 1.296 GB, free: 4.352 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/0.8445, allocations: 16 kB / 1.296 GB, free: 4.336 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.8446, allocations: 24.17 kB / 1.296 GB, free: 4.312 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.8447, allocations: 204.1 kB / 1.296 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.8449, allocations: 75.06 kB / 1.296 GB, free: 4.031 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.8461, allocations: 0.6224 MB / 1.297 GB, free: 3.395 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008717/0.847, allocations: 0.6628 MB / 1.297 GB, free: 2.676 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.847, allocations: 0 / 1.297 GB, free: 2.676 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.8473, allocations: 188.4 kB / 1.298 GB, free: 2.473 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.8474, allocations: 8 kB / 1.298 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.8478, allocations: 19.92 kB / 1.298 GB, free: 2.445 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.8478, allocations: 23.97 kB / 1.298 GB, free: 2.422 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00135/0.8492, allocations: 0.6655 MB / 1.298 GB, free: 1.742 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001014/0.8502, allocations: 0.8274 MB / 1.299 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000259/0.8505, allocations: 193.7 kB / 1.299 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003995/0.8509, allocations: 350.8 kB / 1.3 GB, free: 380 kB / 1.014 GB Notification: Performance of Backend: time 6.01e-07/0.8509, allocations: 4 kB / 1.3 GB, free: 376 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002918/0.8538, allocations: 1.148 MB / 1.301 GB, free: 15.22 MB / 1.029 GB Notification: Performance of SimCode: time 0.002806/0.8566, allocations: 1.922 MB / 1.303 GB, free: 13.26 MB / 1.029 GB Notification: Performance of Templates: time 0.03131/0.888, allocations: 20 MB / 1.322 GB, free: 9.434 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches