Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001299/0.001299, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.191/2.191, allocations: 390.3 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 66.3 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.28, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.7787/1.059, allocations: 190.6 MB / 1.136 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01019/1.069, allocations: 5.722 MB / 1.142 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/1.072, allocations: 45.62 kB / 1.142 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/1.073, allocations: 0.5708 MB / 1.143 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005341/1.079, allocations: 1.623 MB / 1.144 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003784/1.083, allocations: 1.211 MB / 1.145 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004354/1.087, allocations: 2.563 MB / 1.148 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/1.088, allocations: 0.8737 MB / 1.149 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/1.092, allocations: 1.047 MB / 1.15 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/1.094, allocations: 0.8091 MB / 1.151 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002984/1.095, allocations: 96.56 kB / 1.151 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005439/1.1, allocations: 1.537 MB / 1.152 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008068/1.101, allocations: 410 kB / 1.153 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/1.102, allocations: 0.5876 MB / 1.153 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005715/1.108, allocations: 2.001 MB / 1.155 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.108, allocations: 4 kB / 1.155 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/1.108, allocations: 3.938 kB / 1.155 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.097e-05/1.108, allocations: 1.156 kB / 1.155 GB, free: 2.02 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004034/1.112, allocations: 1.431 MB / 1.156 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.112, allocations: 9.594 kB / 1.156 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/1.116, allocations: 416.8 kB / 1.157 GB, free: 17 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/1.119, allocations: 0.7647 MB / 1.158 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005045/1.119, allocations: 113.9 kB / 1.158 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/1.119, allocations: 76.25 kB / 1.158 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/1.122, allocations: 0.9956 MB / 1.159 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/1.122, allocations: 0 / 1.159 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/1.123, allocations: 36.75 kB / 1.159 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-05/1.123, allocations: 27 kB / 1.159 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/1.126, allocations: 0.8841 MB / 1.16 GB, free: 15.77 MB / 0.8731 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.009686/1.135, allocations: 3.531 MB / 1.163 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/1.138, allocations: 0.6213 MB / 1.164 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/1.139, allocations: 337.4 kB / 1.164 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/1.14, allocations: 99.84 kB / 1.164 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.14, allocations: 44.92 kB / 1.164 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=39): time 4.178e-06/1.14, allocations: 0 / 1.164 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=41): time 0.01076/1.151, allocations: 2.416 MB / 1.167 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/1.151, allocations: 60.39 kB / 1.167 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/1.152, allocations: 0.7995 MB / 1.167 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.878e-05/1.152, allocations: 37.17 kB / 1.167 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/1.152, allocations: 449.5 kB / 1.168 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/1.152, allocations: 142.3 kB / 1.168 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/1.153, allocations: 105 kB / 1.168 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.153, allocations: 323.9 kB / 1.168 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008058/1.153, allocations: 310.9 kB / 1.169 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008897/1.154, allocations: 417.7 kB / 1.169 GB, free: 10.66 MB / 0.8731 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005559/1.16, allocations: 1.897 MB / 1.171 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.16, allocations: 4 kB / 1.171 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003333/1.163, allocations: 1.048 MB / 1.172 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.163, allocations: 8.938 kB / 1.172 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.163, allocations: 5.281 kB / 1.172 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/1.164, allocations: 185.6 kB / 1.172 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/1.165, allocations: 152.5 kB / 1.172 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/1.169, allocations: 2.227 MB / 1.174 GB, free: 7.859 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/1.17, allocations: 57.03 kB / 1.175 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/1.17, allocations: 19.34 kB / 1.175 GB, free: 7.828 MB / 0.8731 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005924/1.171, allocations: 273.9 kB / 1.175 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/1.171, allocations: 97.86 kB / 1.175 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/1.171, allocations: 94.31 kB / 1.175 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.171, allocations: 6.406 kB / 1.175 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.171, allocations: 3.984 kB / 1.175 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002854/1.174, allocations: 0.9082 MB / 1.176 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005471/1.18, allocations: 2.109 MB / 1.178 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.18, allocations: 2.781 kB / 1.178 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/1.18, allocations: 127.3 kB / 1.178 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005497/1.181, allocations: 196.3 kB / 1.178 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/1.181, allocations: 12.28 kB / 1.178 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/1.184, allocations: 2.189 MB / 1.18 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.185, allocations: 6.5 kB / 1.18 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/1.189, allocations: 1.419 MB / 1.182 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006758/1.189, allocations: 240.9 kB / 1.182 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.189, allocations: 8.719 kB / 1.182 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008856/1.19, allocations: 70.22 kB / 1.182 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.19, allocations: 47.34 kB / 1.182 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-05/1.19, allocations: 31.33 kB / 1.182 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007485/1.191, allocations: 0.5507 MB / 1.183 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.191, allocations: 0 / 1.183 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00102/1.192, allocations: 275.6 kB / 1.183 GB, free: 2.066 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000519/1.193, allocations: 211.4 kB / 1.183 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002163/1.195, allocations: 0.8502 MB / 1.184 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.195, allocations: 2.312 kB / 1.184 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009441/1.196, allocations: 462.4 kB / 1.184 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/1.198, allocations: 0.5465 MB / 1.185 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/1.203, allocations: 1.993 MB / 1.187 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/1.204, allocations: 1.039 MB / 1.188 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/1.204, allocations: 65.44 kB / 1.188 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of SimCode: time 1.142e-06/1.204, allocations: 0 / 1.188 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of Templates: time 0.02816/1.232, allocations: 18.9 MB / 1.206 GB, free: 4.91 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches