Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_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_latest_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.009437/0.009437, allocations: 102.7 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.002043/0.002043, allocations: 190.1 kB / 16.67 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.752/2.752, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.91 kB / 1.054 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8817/0.883, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.299/1.182, allocations: 190.6 MB / 1.394 GB, free: 14.33 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01089/1.193, allocations: 5.741 MB / 1.4 GB, free: 8.586 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/1.195, allocations: 39.81 kB / 1.4 GB, free: 8.547 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/1.196, allocations: 0.5785 MB / 1.4 GB, free: 7.965 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004071/1.2, allocations: 1.621 MB / 1.402 GB, free: 6.336 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00307/1.203, allocations: 1.214 MB / 1.403 GB, free: 5.129 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00341/1.207, allocations: 2.569 MB / 1.405 GB, free: 2.547 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/1.208, allocations: 0.8841 MB / 1.406 GB, free: 1.656 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/1.21, allocations: 1.059 MB / 1.407 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/1.212, allocations: 0.8092 MB / 1.408 GB, free: 15.79 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002307/1.213, allocations: 96 kB / 1.408 GB, free: 15.69 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/1.215, allocations: 1.54 MB / 1.41 GB, free: 14.15 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005282/1.216, allocations: 406.9 kB / 1.41 GB, free: 13.75 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009395/1.217, allocations: 0.5794 MB / 1.411 GB, free: 13.17 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003307/1.22, allocations: 2.022 MB / 1.413 GB, free: 11.14 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/1.22, allocations: 0 / 1.413 GB, free: 11.14 MB / 1.139 GB Notification: Performance of FrontEnd: time 9.51e-07/1.22, allocations: 0 / 1.413 GB, free: 11.14 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.442e-05/1.22, allocations: 4 kB / 1.413 GB, free: 11.14 MB / 1.139 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.002648/1.223, allocations: 1.433 MB / 1.414 GB, free: 9.648 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/1.223, allocations: 8.031 kB / 1.414 GB, free: 9.641 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/1.226, allocations: 410.3 kB / 1.414 GB, free: 9.238 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/1.227, allocations: 0.7999 MB / 1.415 GB, free: 8.398 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/1.227, allocations: 62 kB / 1.415 GB, free: 8.336 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/1.227, allocations: 75.91 kB / 1.415 GB, free: 8.262 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/1.229, allocations: 0.9856 MB / 1.416 GB, free: 7.262 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/1.229, allocations: 0 / 1.416 GB, free: 7.262 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/1.23, allocations: 36 kB / 1.416 GB, free: 7.227 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/1.23, allocations: 37.97 kB / 1.416 GB, free: 7.188 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/1.232, allocations: 0.8705 MB / 1.417 GB, free: 6.32 MB / 1.139 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.006425/1.238, allocations: 3.478 MB / 1.421 GB, free: 2.66 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/1.24, allocations: 0.6047 MB / 1.421 GB, free: 2.047 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/1.241, allocations: 333.2 kB / 1.421 GB, free: 1.719 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/1.241, allocations: 109.4 kB / 1.422 GB, free: 1.594 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/1.241, allocations: 43.2 kB / 1.422 GB, free: 1.543 MB / 1.139 GB Notification: Performance of pre-optimization done (n=39): time 1.874e-06/1.241, allocations: 0 / 1.422 GB, free: 1.543 MB / 1.139 GB Notification: Performance of matching and sorting (n=41): time 0.008117/1.249, allocations: 2.389 MB / 1.424 GB, free: 15.07 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/1.249, allocations: 55.41 kB / 1.424 GB, free: 15.01 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.25, allocations: 0.7941 MB / 1.425 GB, free: 14.2 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/1.25, allocations: 33.7 kB / 1.425 GB, free: 14.16 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/1.25, allocations: 447.7 kB / 1.425 GB, free: 13.72 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.251, allocations: 153.8 kB / 1.425 GB, free: 13.57 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/1.251, allocations: 102.2 kB / 1.426 GB, free: 13.46 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.251, allocations: 330 kB / 1.426 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007913/1.252, allocations: 304.8 kB / 1.426 GB, free: 12.84 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008725/1.253, allocations: 408.1 kB / 1.427 GB, free: 12.41 MB / 1.154 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.00536/1.258, allocations: 1.884 MB / 1.428 GB, free: 10.47 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.258, allocations: 0 / 1.428 GB, free: 10.47 MB / 1.154 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003313/1.261, allocations: 1.038 MB / 1.429 GB, free: 9.418 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.261, allocations: 4 kB / 1.429 GB, free: 9.414 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.261, allocations: 4 kB / 1.429 GB, free: 9.41 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/1.262, allocations: 188.8 kB / 1.43 GB, free: 9.223 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/1.263, allocations: 147.8 kB / 1.43 GB, free: 9.078 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/1.267, allocations: 2.224 MB / 1.432 GB, free: 6.719 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009524/1.268, allocations: 55.95 kB / 1.432 GB, free: 6.664 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/1.268, allocations: 16 kB / 1.432 GB, free: 6.648 MB / 1.154 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.0004941/1.268, allocations: 277.6 kB / 1.432 GB, free: 6.367 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/1.268, allocations: 94.89 kB / 1.432 GB, free: 6.273 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/1.269, allocations: 96.23 kB / 1.432 GB, free: 6.172 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.269, allocations: 8 kB / 1.432 GB, free: 6.164 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.269, allocations: 3.984 kB / 1.432 GB, free: 6.16 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002893/1.272, allocations: 0.8911 MB / 1.433 GB, free: 5.234 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005509/1.277, allocations: 2.098 MB / 1.435 GB, free: 3.035 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.277, allocations: 4 kB / 1.435 GB, free: 3.031 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006546/1.278, allocations: 132.2 kB / 1.435 GB, free: 2.902 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000562/1.278, allocations: 184.7 kB / 1.436 GB, free: 2.719 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/1.278, allocations: 12 kB / 1.436 GB, free: 2.707 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/1.282, allocations: 2.191 MB / 1.438 GB, free: 388 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/1.282, allocations: 7.969 kB / 1.438 GB, free: 380 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/1.286, allocations: 1.421 MB / 1.439 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005373/1.287, allocations: 240 kB / 1.439 GB, free: 14.63 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/1.287, allocations: 8 kB / 1.439 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008924/1.288, allocations: 63.91 kB / 1.439 GB, free: 14.56 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.288, allocations: 39.83 kB / 1.439 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/1.288, allocations: 27.98 kB / 1.44 GB, free: 14.49 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007732/1.289, allocations: 0.5537 MB / 1.44 GB, free: 13.95 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/1.289, allocations: 0 / 1.44 GB, free: 13.95 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009137/1.29, allocations: 272 kB / 1.44 GB, free: 13.68 MB / 1.17 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.0004696/1.29, allocations: 204.6 kB / 1.441 GB, free: 13.48 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002115/1.292, allocations: 0.7981 MB / 1.441 GB, free: 12.67 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.292, allocations: 4 kB / 1.441 GB, free: 12.66 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.293, allocations: 455.1 kB / 1.442 GB, free: 12.21 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/1.296, allocations: 0.5513 MB / 1.442 GB, free: 11.67 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/1.301, allocations: 1.906 MB / 1.444 GB, free: 9.691 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008208/1.302, allocations: 1.04 MB / 1.445 GB, free: 8.625 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000972/1.303, allocations: 203.2 kB / 1.445 GB, free: 8.422 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/1.303, allocations: 71.42 kB / 1.445 GB, free: 8.352 MB / 1.17 GB Notification: Performance of SimCode: time 1.363e-06/1.303, allocations: 0 / 1.445 GB, free: 8.352 MB / 1.17 GB Notification: Performance of Templates: time 0.04231/1.345, allocations: 21.15 MB / 1.466 GB, free: 3.461 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches