Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001803/0.001803, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.518/1.518, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7213/0.7226, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2999/1.023, allocations: 218.9 MB / 1.23 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01363/1.036, allocations: 5.794 MB / 1.236 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/1.038, allocations: 35.75 kB / 1.236 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00227/1.041, allocations: 0.5052 MB / 1.237 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005496/1.046, allocations: 1.525 MB / 1.238 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/1.05, allocations: 1.095 MB / 1.239 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005904/1.056, allocations: 3.542 MB / 1.243 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/1.058, allocations: 0.7611 MB / 1.243 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/1.061, allocations: 0.9219 MB / 1.244 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003761/1.065, allocations: 0.8668 MB / 1.245 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004228/1.065, allocations: 48 kB / 1.245 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005318/1.071, allocations: 1.73 MB / 1.247 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000733/1.071, allocations: 362.9 kB / 1.247 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/1.073, allocations: 0.5364 MB / 1.248 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003911/1.077, allocations: 2.045 MB / 1.25 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.077, allocations: 0 / 1.25 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/1.077, allocations: 0 / 1.25 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.106e-05/1.077, allocations: 0 / 1.25 GB, free: 3.332 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003509/1.08, allocations: 1.426 MB / 1.251 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.08, allocations: 16.03 kB / 1.251 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/1.083, allocations: 410.2 kB / 1.251 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/1.085, allocations: 0.7687 MB / 1.252 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/1.086, allocations: 113.9 kB / 1.252 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/1.086, allocations: 80 kB / 1.252 GB, free: 444 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5476/1.633, allocations: 0.992 MB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.633, allocations: 1.469 kB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.172e-05/1.634, allocations: 35.62 kB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/1.634, allocations: 32.08 kB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/1.636, allocations: 0.8857 MB / 1.254 GB, free: 237.1 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.00618/1.642, allocations: 3.5 MB / 1.258 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/1.644, allocations: 0.6118 MB / 1.258 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008482/1.645, allocations: 349.8 kB / 1.259 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/1.645, allocations: 100.1 kB / 1.259 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/1.645, allocations: 37.97 kB / 1.259 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.113e-06/1.645, allocations: 0.9062 kB / 1.259 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=41): time 0.005304/1.65, allocations: 1.918 MB / 1.261 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/1.65, allocations: 59.91 kB / 1.261 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.651, allocations: 0.7844 MB / 1.261 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/1.651, allocations: 33.08 kB / 1.261 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/1.652, allocations: 454 kB / 1.262 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/1.652, allocations: 149.4 kB / 1.262 GB, free: 233 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/1.652, allocations: 114 kB / 1.262 GB, free: 233 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.402e-05/1.652, allocations: 325.9 kB / 1.262 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000865/1.653, allocations: 313.6 kB / 1.263 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009173/1.654, allocations: 453.5 kB / 1.263 GB, free: 232.4 MB / 0.9981 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.006061/1.66, allocations: 1.952 MB / 1.265 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/1.66, allocations: 1.188 kB / 1.265 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002472/1.662, allocations: 0.8518 MB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.662, allocations: 7.406 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.662, allocations: 4 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/1.663, allocations: 5.625 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/1.663, allocations: 174.2 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/1.664, allocations: 7.156 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.665, allocations: 96.94 kB / 1.266 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/1.665, allocations: 23.61 kB / 1.266 GB, free: 231.3 MB / 0.9981 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: 14 * 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 (65): * Single equations (assignments): 65 * 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.0004718/1.665, allocations: 276.2 kB / 1.267 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/1.665, allocations: 87.17 kB / 1.267 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/1.666, allocations: 95.53 kB / 1.267 GB, free: 231 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.666, allocations: 8.531 kB / 1.267 GB, free: 231 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.666, allocations: 4.797 kB / 1.267 GB, free: 231 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001662/1.667, allocations: 0.6981 MB / 1.267 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004405/1.672, allocations: 1.922 MB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.672, allocations: 6.656 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/1.673, allocations: 147.5 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/1.673, allocations: 5.062 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/1.673, allocations: 14.02 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/1.673, allocations: 11.72 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.673, allocations: 7.281 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/1.675, allocations: 1.238 MB / 1.271 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/1.676, allocations: 233.2 kB / 1.271 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.676, allocations: 14.91 kB / 1.271 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009892/1.677, allocations: 89.34 kB / 1.271 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.677, allocations: 37.8 kB / 1.271 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/1.677, allocations: 27.5 kB / 1.271 GB, free: 229 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008073/1.678, allocations: 0.5455 MB / 1.272 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.678, allocations: 0 / 1.272 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009054/1.679, allocations: 244.2 kB / 1.272 GB, free: 228.7 MB / 0.9981 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 (41): * Single equations (assignments): 41 * 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.0004312/1.679, allocations: 216.5 kB / 1.272 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001794/1.681, allocations: 0.6891 MB / 1.273 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.681, allocations: 1.562 kB / 1.273 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008612/1.682, allocations: 347.5 kB / 1.273 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/1.684, allocations: 0.5219 MB / 1.274 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/1.689, allocations: 2.218 MB / 1.276 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/1.689, allocations: 1.044 MB / 1.277 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009353/1.69, allocations: 231.5 kB / 1.277 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/1.69, allocations: 67.8 kB / 1.277 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.69, allocations: 0 / 1.277 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0235/1.714, allocations: 17.79 MB / 1.294 GB, free: 211.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches