Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.CoupledVolumesSpecializedWaterConstantProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 91.77 kB / 16.02 MB, free: 80 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.001535/0.001535, allocations: 183.9 kB / 16.92 MB, free: 6.926 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.469/1.469, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 437.8 MB / 0.7128 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003943, allocations: 16 kB / 0.8735 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.7134, allocations: 153.8 MB / 1.024 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT): time 0.04024/0.7537, allocations: 37.12 MB / 1.06 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.7648, allocations: 7.038 MB / 1.067 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.7664, allocations: 31.81 kB / 1.067 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.7676, allocations: 322.2 kB / 1.067 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.7712, allocations: 1.027 MB / 1.068 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.774, allocations: 0.8611 MB / 1.069 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004157/0.7782, allocations: 2.83 MB / 1.072 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009946/0.7792, allocations: 0.5137 MB / 1.072 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01479/0.794, allocations: 6.278 MB / 1.078 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.7953, allocations: 0.5365 MB / 1.079 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.7954, allocations: 20 kB / 1.079 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0113/0.8068, allocations: 5.618 MB / 1.084 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.8072, allocations: 131.4 kB / 1.085 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006546/0.8078, allocations: 363.9 kB / 1.085 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.8092, allocations: 0.8846 MB / 1.086 GB, free: 56 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8092, allocations: 0 / 1.086 GB, free: 56 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8092, allocations: 0 / 1.086 GB, free: 56 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.8093, allocations: 7.938 kB / 1.086 GB, free: 48 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001428/0.8107, allocations: 0.9151 MB / 1.087 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.8107, allocations: 11.98 kB / 1.087 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.8111, allocations: 88.08 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.8122, allocations: 0.7275 MB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.8123, allocations: 36.88 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.966e-05/0.8124, allocations: 51.98 kB / 1.088 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007948/0.8132, allocations: 0.4962 MB / 1.088 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.8132, allocations: 0 / 1.088 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.8133, allocations: 20 kB / 1.088 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.8133, allocations: 23.91 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.8138, allocations: 319.7 kB / 1.088 GB, free: 13.25 MB / 0.8419 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.003227/0.817, allocations: 2.736 MB / 1.091 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.8175, allocations: 194.5 kB / 1.091 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.8176, allocations: 100.8 kB / 1.091 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004094/0.818, allocations: 336.8 kB / 1.092 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.8181, allocations: 38.5 kB / 1.092 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 3.677e-06/0.8181, allocations: 0 / 1.092 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0006796/0.8188, allocations: 304.4 kB / 1.092 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.8189, allocations: 59.41 kB / 1.092 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007494/0.8196, allocations: 0.5146 MB / 1.093 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.8197, allocations: 33.7 kB / 1.093 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.8201, allocations: 351.5 kB / 1.093 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/0.8202, allocations: 74.94 kB / 1.093 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.8202, allocations: 37.7 kB / 1.093 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.8204, allocations: 362.8 kB / 1.093 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.8206, allocations: 83.95 kB / 1.093 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.8209, allocations: 225.9 kB / 1.094 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.8214, allocations: 341.5 kB / 1.094 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.8214, allocations: 0 / 1.094 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006531/0.8221, allocations: 388.6 kB / 1.094 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.8223, allocations: 212.8 kB / 1.095 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.8223, allocations: 8 kB / 1.095 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.8223, allocations: 4 kB / 1.095 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.8227, allocations: 75.91 kB / 1.095 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.8227, allocations: 15.88 kB / 1.095 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.8232, allocations: 59.5 kB / 1.095 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.8233, allocations: 20 kB / 1.095 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.8233, allocations: 4 kB / 1.095 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004586/0.8237, allocations: 303.4 kB / 1.095 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8238, allocations: 4 kB / 1.095 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/0.8238, allocations: 4 kB / 1.095 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.824, allocations: 76.47 kB / 1.095 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.824, allocations: 19.92 kB / 1.095 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.8243, allocations: 43.67 kB / 1.095 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.8244, allocations: 16 kB / 1.095 GB, free: 5.703 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (43): * Single equations (assignments): 43 * 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.0003676/0.8248, allocations: 284.9 kB / 1.095 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-05/0.8249, allocations: 55.34 kB / 1.095 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.8254, allocations: 273.6 kB / 1.096 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.8254, allocations: 8.031 kB / 1.096 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8254, allocations: 0 / 1.096 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003457/0.8258, allocations: 379.8 kB / 1.096 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.8273, allocations: 1.041 MB / 1.097 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.8273, allocations: 0 / 1.097 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.8275, allocations: 43.98 kB / 1.097 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.8275, allocations: 4 kB / 1.097 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.8275, allocations: 16.23 kB / 1.097 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.8275, allocations: 7.938 kB / 1.097 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8275, allocations: 0 / 1.097 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.8282, allocations: 0.5035 MB / 1.098 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.8284, allocations: 180.2 kB / 1.098 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.8285, allocations: 8 kB / 1.098 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.8289, allocations: 41.06 kB / 1.098 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.8289, allocations: 19.92 kB / 1.098 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.8289, allocations: 15.98 kB / 1.098 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005232/0.8295, allocations: 407.1 kB / 1.098 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8295, allocations: 0 / 1.098 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001095/0.8306, allocations: 343.3 kB / 1.099 GB, free: 1.895 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (vol.dynBal.U,vol1.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007248/0.8313, allocations: 310.1 kB / 1.099 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006031/0.8319, allocations: 395.6 kB / 1.099 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.8319, allocations: 4 kB / 1.099 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.8321, allocations: 103.8 kB / 1.099 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.8341, allocations: 366.5 kB / 1.1 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.8359, allocations: 1.386 MB / 1.101 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.8363, allocations: 0.8983 MB / 1.102 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.8365, allocations: 59.42 kB / 1.102 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of SimCode: time 6.31e-07/0.8365, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of Templates: time 0.01628/0.8528, allocations: 10.61 MB / 1.112 GB, free: 3.844 MB / 0.8575 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterConstantProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches