Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.001454/0.001454, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001619/0.001619, allocations: 159.2 kB / 22.45 MB, free: 5.375 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.01/3.01, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.546e-05/3.805e-05, allocations: 10.16 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 1.133/1.133, allocations: 168.4 MB / 1.146 GB, free: 45.39 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01144/1.145, allocations: 5.443 MB / 1.151 GB, free: 45.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/1.147, allocations: 58.08 kB / 1.151 GB, free: 45.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/1.148, allocations: 0.5625 MB / 1.152 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00472/1.153, allocations: 1.726 MB / 1.154 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003586/1.157, allocations: 1.287 MB / 1.155 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003765/1.16, allocations: 2.639 MB / 1.157 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/1.161, allocations: 0.6834 MB / 1.158 GB, free: 44.99 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/1.164, allocations: 1.581 MB / 1.16 GB, free: 44.83 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/1.166, allocations: 0.7466 MB / 1.16 GB, free: 44.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/1.166, allocations: 95.84 kB / 1.16 GB, free: 44.75 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/1.169, allocations: 1.285 MB / 1.162 GB, free: 44.63 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004841/1.17, allocations: 441 kB / 1.162 GB, free: 44.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006493/1.171, allocations: 424 kB / 1.162 GB, free: 44.53 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003393/1.174, allocations: 2.064 MB / 1.164 GB, free: 44.35 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.174, allocations: 7.156 kB / 1.164 GB, free: 44.35 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/1.174, allocations: 0 / 1.164 GB, free: 44.35 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.603e-05/1.174, allocations: 0 / 1.164 GB, free: 44.35 MB / 1.076 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.002313/1.176, allocations: 1.384 MB / 1.166 GB, free: 43.63 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.176, allocations: 9.875 kB / 1.166 GB, free: 43.63 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/1.179, allocations: 426.1 kB / 1.166 GB, free: 43.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/1.181, allocations: 0.7281 MB / 1.167 GB, free: 43.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/1.181, allocations: 60.84 kB / 1.167 GB, free: 43.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/1.181, allocations: 73.62 kB / 1.167 GB, free: 43.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/1.183, allocations: 1.359 MB / 1.168 GB, free: 42.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.183, allocations: 2.562 kB / 1.168 GB, free: 42.76 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/1.183, allocations: 32.5 kB / 1.168 GB, free: 42.76 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/1.183, allocations: 31.86 kB / 1.168 GB, free: 42.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/1.185, allocations: 0.8711 MB / 1.169 GB, free: 42.75 MB / 1.076 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.005237/1.19, allocations: 2.626 MB / 1.172 GB, free: 42.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/1.192, allocations: 0.5922 MB / 1.172 GB, free: 42.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009509/1.193, allocations: 315 kB / 1.173 GB, free: 42.01 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/1.193, allocations: 24.2 kB / 1.173 GB, free: 42.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/1.193, allocations: 42.38 kB / 1.173 GB, free: 41.97 MB / 1.076 GB Notification: Performance of pre-optimization done (n=39): time 2.856e-06/1.193, allocations: 1.344 kB / 1.173 GB, free: 41.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=41): time 0.008711/1.201, allocations: 2.239 MB / 1.175 GB, free: 41.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/1.201, allocations: 55.91 kB / 1.175 GB, free: 41.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/1.202, allocations: 0.6222 MB / 1.176 GB, free: 41.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.862e-05/1.202, allocations: 36.83 kB / 1.176 GB, free: 41.37 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/1.203, allocations: 467.7 kB / 1.176 GB, free: 41.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/1.203, allocations: 151 kB / 1.176 GB, free: 41.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/1.203, allocations: 106.7 kB / 1.176 GB, free: 41.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.203, allocations: 379.2 kB / 1.177 GB, free: 40.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008675/1.204, allocations: 306.7 kB / 1.177 GB, free: 40.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009097/1.205, allocations: 459.8 kB / 1.178 GB, free: 40.54 MB / 1.076 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.005833/1.211, allocations: 1.8 MB / 1.179 GB, free: 40.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.211, allocations: 0 / 1.179 GB, free: 40.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003583/1.214, allocations: 1.021 MB / 1.18 GB, free: 40.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.214, allocations: 11.83 kB / 1.18 GB, free: 40.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.214, allocations: 6.312 kB / 1.18 GB, free: 40.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006725/1.215, allocations: 192.4 kB / 1.18 GB, free: 40.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/1.216, allocations: 150.5 kB / 1.181 GB, free: 40.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/1.22, allocations: 2.071 MB / 1.183 GB, free: 39.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.221, allocations: 53.27 kB / 1.183 GB, free: 39.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/1.221, allocations: 23.12 kB / 1.183 GB, free: 39.11 MB / 1.076 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.0006417/1.222, allocations: 286 kB / 1.183 GB, free: 38.98 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/1.222, allocations: 76.78 kB / 1.183 GB, free: 38.94 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/1.222, allocations: 83.67 kB / 1.183 GB, free: 38.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/1.222, allocations: 5.141 kB / 1.183 GB, free: 38.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.222, allocations: 3 kB / 1.183 GB, free: 38.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003226/1.225, allocations: 0.8966 MB / 1.184 GB, free: 38.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005818/1.231, allocations: 1.858 MB / 1.186 GB, free: 38.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.231, allocations: 6.562 kB / 1.186 GB, free: 38.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/1.232, allocations: 121.2 kB / 1.186 GB, free: 38.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006136/1.233, allocations: 186.2 kB / 1.186 GB, free: 38.33 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/1.233, allocations: 16.3 kB / 1.186 GB, free: 38.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/1.236, allocations: 2.042 MB / 1.188 GB, free: 37.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/1.236, allocations: 14.09 kB / 1.188 GB, free: 37.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004373/1.241, allocations: 1.409 MB / 1.19 GB, free: 36.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/1.241, allocations: 144.7 kB / 1.19 GB, free: 36.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.241, allocations: 11.44 kB / 1.19 GB, free: 36.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008736/1.242, allocations: 63.23 kB / 1.19 GB, free: 36.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/1.242, allocations: 42.02 kB / 1.19 GB, free: 36.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-05/1.243, allocations: 28.88 kB / 1.19 GB, free: 36.72 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006787/1.243, allocations: 438.2 kB / 1.19 GB, free: 36.63 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.243, allocations: 0 / 1.19 GB, free: 36.63 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001177/1.244, allocations: 271.7 kB / 1.19 GB, free: 36.62 MB / 1.076 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.0004429/1.245, allocations: 199.4 kB / 1.191 GB, free: 36.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00228/1.247, allocations: 0.7843 MB / 1.191 GB, free: 36.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.247, allocations: 2.75 kB / 1.191 GB, free: 36.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/1.248, allocations: 448.2 kB / 1.192 GB, free: 36.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/1.25, allocations: 438.7 kB / 1.192 GB, free: 36.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/1.255, allocations: 1.832 MB / 1.194 GB, free: 35.42 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/1.256, allocations: 454.4 kB / 1.195 GB, free: 35.31 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008462/1.257, allocations: 175.8 kB / 1.195 GB, free: 35.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/1.257, allocations: 58.11 kB / 1.195 GB, free: 35.26 MB / 1.076 GB Notification: Performance of SimCode: time 8.42e-07/1.257, allocations: 0 / 1.195 GB, free: 35.26 MB / 1.076 GB Notification: Performance of Templates: time 0.03652/1.293, allocations: 17.74 MB / 1.212 GB, free: 33.44 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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: 10.993543602526188]