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.001298/0.001298, allocations: 104.2 kB / 16.27 MB, free: 6.418 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.001289/0.001289, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.495/2.495, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.89 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3358, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.7806/1.117, allocations: 190.6 MB / 1.25 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009697/1.126, allocations: 5.719 MB / 1.256 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/1.128, allocations: 39.81 kB / 1.256 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/1.129, allocations: 0.5785 MB / 1.257 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004263/1.134, allocations: 1.621 MB / 1.258 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003273/1.137, allocations: 1.207 MB / 1.259 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003519/1.141, allocations: 2.57 MB / 1.262 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/1.142, allocations: 0.8793 MB / 1.263 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/1.144, allocations: 1.043 MB / 1.264 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/1.145, allocations: 0.8038 MB / 1.264 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/1.145, allocations: 100 kB / 1.265 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003314/1.149, allocations: 1.54 MB / 1.266 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005638/1.149, allocations: 406.9 kB / 1.266 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009557/1.15, allocations: 0.5872 MB / 1.267 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003526/1.154, allocations: 2.006 MB / 1.269 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.154, allocations: 0 / 1.269 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.083e-06/1.154, allocations: 0 / 1.269 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.696e-05/1.154, allocations: 0 / 1.269 GB, free: 7.367 MB / 0.9825 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.002472/1.156, allocations: 1.438 MB / 1.27 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.156, allocations: 8.625 kB / 1.27 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/1.159, allocations: 410.3 kB / 1.271 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/1.16, allocations: 0.7609 MB / 1.272 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/1.161, allocations: 113.9 kB / 1.272 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/1.161, allocations: 75.94 kB / 1.272 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/1.163, allocations: 1 MB / 1.273 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.163, allocations: 0 / 1.273 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/1.163, allocations: 32 kB / 1.273 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/1.163, allocations: 33.98 kB / 1.273 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/1.165, allocations: 0.8783 MB / 1.274 GB, free: 2.516 MB / 0.9825 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.00603/1.171, allocations: 3.532 MB / 1.277 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/1.173, allocations: 0.6204 MB / 1.278 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008114/1.174, allocations: 333.3 kB / 1.278 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/1.174, allocations: 105.7 kB / 1.278 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.174, allocations: 42.55 kB / 1.278 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 4.228e-06/1.174, allocations: 0 / 1.278 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=41): time 0.008359/1.182, allocations: 2.431 MB / 1.281 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/1.182, allocations: 55.41 kB / 1.281 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.183, allocations: 0.7902 MB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/1.183, allocations: 33.7 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/1.184, allocations: 451.6 kB / 1.282 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/1.184, allocations: 141.9 kB / 1.282 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/1.184, allocations: 118 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.184, allocations: 322 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008181/1.185, allocations: 316.8 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008809/1.186, allocations: 408.1 kB / 1.283 GB, free: 8.48 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.005512/1.191, allocations: 1.918 MB / 1.285 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.191, allocations: 0 / 1.285 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003319/1.195, allocations: 1.044 MB / 1.286 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.195, allocations: 8 kB / 1.286 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.195, allocations: 4 kB / 1.286 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/1.195, allocations: 184.8 kB / 1.286 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/1.196, allocations: 151.8 kB / 1.286 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/1.2, allocations: 2.225 MB / 1.288 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.201, allocations: 47.95 kB / 1.288 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/1.201, allocations: 23.98 kB / 1.289 GB, free: 2.68 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: 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.0004813/1.202, allocations: 282.7 kB / 1.289 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/1.202, allocations: 90.91 kB / 1.289 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/1.202, allocations: 96.23 kB / 1.289 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/1.202, allocations: 4 kB / 1.289 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.202, allocations: 0 / 1.289 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002904/1.205, allocations: 0.9143 MB / 1.29 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/1.21, allocations: 2.106 MB / 1.292 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/1.21, allocations: 4 kB / 1.292 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/1.211, allocations: 136.2 kB / 1.292 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005581/1.212, allocations: 184.6 kB / 1.292 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/1.212, allocations: 19.98 kB / 1.292 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003718/1.215, allocations: 2.179 MB / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/1.215, allocations: 7.984 kB / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00406/1.219, allocations: 1.443 MB / 1.296 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005253/1.22, allocations: 244 kB / 1.296 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.22, allocations: 11.94 kB / 1.296 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.221, allocations: 65.75 kB / 1.296 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.221, allocations: 39.83 kB / 1.296 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.55e-05/1.221, allocations: 23.98 kB / 1.296 GB, free: 10.47 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008725/1.222, allocations: 0.5576 MB / 1.297 GB, free: 9.922 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.31e-07/1.222, allocations: 0 / 1.297 GB, free: 9.922 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00108/1.223, allocations: 272 kB / 1.297 GB, free: 9.656 MB / 1.014 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.0005864/1.224, allocations: 199.2 kB / 1.297 GB, free: 9.465 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002349/1.226, allocations: 0.8455 MB / 1.298 GB, free: 8.609 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.226, allocations: 0 / 1.298 GB, free: 8.609 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/1.227, allocations: 467.6 kB / 1.298 GB, free: 8.141 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/1.23, allocations: 0.5348 MB / 1.299 GB, free: 7.613 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/1.235, allocations: 1.993 MB / 1.301 GB, free: 5.543 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/1.236, allocations: 1.048 MB / 1.302 GB, free: 4.469 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/1.236, allocations: 71.42 kB / 1.302 GB, free: 4.398 MB / 1.014 GB Notification: Performance of SimCode: time 7.51e-07/1.236, allocations: 0 / 1.302 GB, free: 4.398 MB / 1.014 GB Notification: Performance of Templates: time 0.02949/1.266, allocations: 18.9 MB / 1.32 GB, free: 1.629 MB / 1.029 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches