Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.928/2.928, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 79.83 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8601/0.8625, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2611/1.124, allocations: 196.1 MB / 1.378 GB, free: 1.645 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01039/1.134, allocations: 5.442 MB / 1.383 GB, free: 12.19 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/1.135, allocations: 55.56 kB / 1.383 GB, free: 12.14 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/1.137, allocations: 0.5591 MB / 1.384 GB, free: 11.57 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004706/1.142, allocations: 1.703 MB / 1.386 GB, free: 9.867 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/1.146, allocations: 1.239 MB / 1.387 GB, free: 8.637 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004061/1.15, allocations: 2.605 MB / 1.389 GB, free: 6.027 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/1.151, allocations: 0.681 MB / 1.39 GB, free: 5.336 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/1.154, allocations: 1.304 MB / 1.391 GB, free: 4.027 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/1.157, allocations: 0.8551 MB / 1.392 GB, free: 3.18 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003102/1.157, allocations: 96 kB / 1.392 GB, free: 3.086 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/1.16, allocations: 1.262 MB / 1.394 GB, free: 1.82 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006657/1.161, allocations: 418.8 kB / 1.394 GB, free: 1.41 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/1.162, allocations: 0.494 MB / 1.394 GB, free: 0.9141 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003553/1.166, allocations: 1.99 MB / 1.396 GB, free: 14.91 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.166, allocations: 0 / 1.396 GB, free: 14.91 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.473e-06/1.166, allocations: 0 / 1.396 GB, free: 14.91 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.383e-05/1.166, allocations: 3.938 kB / 1.396 GB, free: 14.91 MB / 1.248 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.003092/1.169, allocations: 1.388 MB / 1.398 GB, free: 13.48 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.169, allocations: 8.031 kB / 1.398 GB, free: 13.48 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/1.172, allocations: 422.8 kB / 1.398 GB, free: 13.06 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/1.173, allocations: 0.7313 MB / 1.399 GB, free: 12.3 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/1.173, allocations: 62 kB / 1.399 GB, free: 12.24 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/1.174, allocations: 83.97 kB / 1.399 GB, free: 12.16 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/1.176, allocations: 1.363 MB / 1.4 GB, free: 10.68 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/1.176, allocations: 0 / 1.4 GB, free: 10.68 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.114e-05/1.176, allocations: 32 kB / 1.4 GB, free: 10.65 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-05/1.176, allocations: 33.92 kB / 1.4 GB, free: 10.62 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/1.178, allocations: 0.8743 MB / 1.401 GB, free: 9.746 MB / 1.248 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.006017/1.184, allocations: 2.624 MB / 1.404 GB, free: 7.062 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/1.186, allocations: 0.5774 MB / 1.404 GB, free: 6.477 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008637/1.187, allocations: 327.2 kB / 1.405 GB, free: 6.156 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/1.187, allocations: 19.98 kB / 1.405 GB, free: 6.137 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/1.187, allocations: 54.5 kB / 1.405 GB, free: 6.074 MB / 1.248 GB Notification: Performance of pre-optimization done (n=39): time 2.554e-06/1.187, allocations: 0 / 1.405 GB, free: 6.074 MB / 1.248 GB Notification: Performance of matching and sorting (n=41): time 0.005404/1.192, allocations: 1.808 MB / 1.406 GB, free: 4.23 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.192, allocations: 63.19 kB / 1.407 GB, free: 4.156 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008873/1.193, allocations: 0.633 MB / 1.407 GB, free: 3.516 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/1.193, allocations: 33.7 kB / 1.407 GB, free: 3.477 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/1.194, allocations: 464 kB / 1.408 GB, free: 3.016 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/1.194, allocations: 150.7 kB / 1.408 GB, free: 2.867 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/1.194, allocations: 118.2 kB / 1.408 GB, free: 2.742 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.194, allocations: 374.8 kB / 1.408 GB, free: 2.367 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000858/1.195, allocations: 313.1 kB / 1.409 GB, free: 2.062 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/1.196, allocations: 0.5383 MB / 1.409 GB, free: 1.449 MB / 1.248 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.005769/1.202, allocations: 1.862 MB / 1.411 GB, free: 15.54 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.202, allocations: 3.938 kB / 1.411 GB, free: 15.54 MB / 1.264 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00244/1.204, allocations: 0.8289 MB / 1.412 GB, free: 14.7 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.204, allocations: 8 kB / 1.412 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.204, allocations: 0 / 1.412 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/1.204, allocations: 8 kB / 1.412 GB, free: 14.69 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009462/1.205, allocations: 171.8 kB / 1.412 GB, free: 14.52 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.259e-05/1.205, allocations: 4 kB / 1.412 GB, free: 14.52 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.207, allocations: 59.94 kB / 1.412 GB, free: 14.46 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/1.207, allocations: 20 kB / 1.412 GB, free: 14.44 MB / 1.264 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.0005585/1.207, allocations: 278.2 kB / 1.412 GB, free: 14.16 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/1.207, allocations: 79.47 kB / 1.412 GB, free: 14.08 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/1.208, allocations: 86.83 kB / 1.412 GB, free: 13.99 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.208, allocations: 8 kB / 1.412 GB, free: 13.98 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.208, allocations: 0 / 1.412 GB, free: 13.98 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001767/1.209, allocations: 0.6835 MB / 1.413 GB, free: 13.27 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/1.214, allocations: 1.673 MB / 1.415 GB, free: 11.52 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.214, allocations: 4 kB / 1.415 GB, free: 11.51 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/1.215, allocations: 152.2 kB / 1.415 GB, free: 11.36 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/1.215, allocations: 8 kB / 1.415 GB, free: 11.36 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/1.215, allocations: 12 kB / 1.415 GB, free: 11.34 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.314e-05/1.215, allocations: 15.92 kB / 1.415 GB, free: 11.33 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.215, allocations: 4 kB / 1.415 GB, free: 11.32 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002891/1.218, allocations: 1.21 MB / 1.416 GB, free: 10.05 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/1.218, allocations: 151.4 kB / 1.416 GB, free: 9.906 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/1.218, allocations: 12 kB / 1.416 GB, free: 9.895 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/1.219, allocations: 60.66 kB / 1.416 GB, free: 9.836 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/1.219, allocations: 35.83 kB / 1.416 GB, free: 9.801 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/1.219, allocations: 31.97 kB / 1.416 GB, free: 9.77 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006244/1.22, allocations: 435 kB / 1.417 GB, free: 9.348 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/1.22, allocations: 0 / 1.417 GB, free: 9.348 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009306/1.221, allocations: 255.9 kB / 1.417 GB, free: 9.098 MB / 1.264 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.0003967/1.221, allocations: 185.4 kB / 1.417 GB, free: 8.91 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001945/1.223, allocations: 0.674 MB / 1.418 GB, free: 8.234 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.223, allocations: 4 kB / 1.418 GB, free: 8.23 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0008716/1.224, allocations: 321 kB / 1.418 GB, free: 7.918 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/1.226, allocations: 425.7 kB / 1.419 GB, free: 7.512 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/1.231, allocations: 1.88 MB / 1.42 GB, free: 5.559 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/1.232, allocations: 454.3 kB / 1.421 GB, free: 5.09 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007812/1.233, allocations: 201.8 kB / 1.421 GB, free: 4.891 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/1.233, allocations: 60.48 kB / 1.421 GB, free: 4.832 MB / 1.264 GB Notification: Performance of SimCode: time 1.353e-06/1.233, allocations: 0 / 1.421 GB, free: 4.832 MB / 1.264 GB Notification: Performance of Templates: time 0.03093/1.264, allocations: 16.62 MB / 1.437 GB, free: 4.617 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.693624161998741]