Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_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_9_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.00672/0.00672, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001378/0.001379, allocations: 190 kB / 16.67 MB, free: 5.977 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: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.06 kB / 0.9509 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3369, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.8946/1.232, allocations: 190.6 MB / 1.274 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01048/1.242, allocations: 5.737 MB / 1.28 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/1.244, allocations: 41.88 kB / 1.28 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/1.246, allocations: 0.58 MB / 1.28 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004896/1.251, allocations: 1.623 MB / 1.282 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004204/1.255, allocations: 1.213 MB / 1.283 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004629/1.259, allocations: 2.571 MB / 1.286 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/1.261, allocations: 0.8757 MB / 1.286 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/1.264, allocations: 1.042 MB / 1.287 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/1.266, allocations: 0.8131 MB / 1.288 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002628/1.266, allocations: 97.81 kB / 1.288 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/1.271, allocations: 1.538 MB / 1.29 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005444/1.271, allocations: 406.5 kB / 1.29 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008055/1.272, allocations: 0.5868 MB / 1.291 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00357/1.275, allocations: 2.023 MB / 1.293 GB, free: 3.102 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.275, allocations: 0.9688 kB / 1.293 GB, free: 3.102 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/1.275, allocations: 0 / 1.293 GB, free: 3.102 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.373e-05/1.276, allocations: 1 kB / 1.293 GB, free: 3.102 MB / 1.014 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.002897/1.278, allocations: 1.429 MB / 1.294 GB, free: 2.336 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.278, allocations: 9.781 kB / 1.294 GB, free: 2.336 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/1.281, allocations: 418.9 kB / 1.295 GB, free: 2.277 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.283, allocations: 0.8028 MB / 1.295 GB, free: 1.965 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/1.283, allocations: 55.78 kB / 1.295 GB, free: 1.961 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/1.283, allocations: 72.44 kB / 1.295 GB, free: 1.961 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/1.285, allocations: 0.9862 MB / 1.296 GB, free: 1.871 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/1.285, allocations: 4.734 kB / 1.296 GB, free: 1.867 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/1.285, allocations: 33.16 kB / 1.296 GB, free: 1.867 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/1.285, allocations: 28.45 kB / 1.297 GB, free: 1.863 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/1.287, allocations: 0.8758 MB / 1.297 GB, free: 1.852 MB / 1.014 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.005999/1.293, allocations: 3.477 MB / 1.301 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/1.295, allocations: 0.6065 MB / 1.301 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007861/1.296, allocations: 332.2 kB / 1.302 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/1.296, allocations: 100.3 kB / 1.302 GB, free: 16.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/1.296, allocations: 46.66 kB / 1.302 GB, free: 16.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 2.034e-06/1.296, allocations: 0.9375 kB / 1.302 GB, free: 16.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.008737/1.305, allocations: 2.386 MB / 1.304 GB, free: 15.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/1.305, allocations: 58 kB / 1.304 GB, free: 15.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/1.306, allocations: 0.7953 MB / 1.305 GB, free: 15.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/1.306, allocations: 39.61 kB / 1.305 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/1.306, allocations: 458.5 kB / 1.305 GB, free: 15.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/1.306, allocations: 143.6 kB / 1.306 GB, free: 15.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/1.307, allocations: 110.4 kB / 1.306 GB, free: 15.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.307, allocations: 324.2 kB / 1.306 GB, free: 15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008168/1.308, allocations: 304 kB / 1.306 GB, free: 15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/1.309, allocations: 412 kB / 1.307 GB, free: 14.9 MB / 1.029 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.005501/1.314, allocations: 1.874 MB / 1.309 GB, free: 14.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.314, allocations: 5.031 kB / 1.309 GB, free: 14.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003246/1.317, allocations: 1.033 MB / 1.31 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.317, allocations: 6.219 kB / 1.31 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.317, allocations: 4.281 kB / 1.31 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/1.318, allocations: 195.4 kB / 1.31 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/1.319, allocations: 142.5 kB / 1.31 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/1.323, allocations: 2.218 MB / 1.312 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.324, allocations: 52.58 kB / 1.312 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/1.324, allocations: 31.47 kB / 1.312 GB, free: 13.17 MB / 1.029 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.0004903/1.324, allocations: 278 kB / 1.312 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/1.325, allocations: 90.5 kB / 1.312 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/1.325, allocations: 95 kB / 1.313 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.325, allocations: 4.031 kB / 1.313 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/1.325, allocations: 5.375 kB / 1.313 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00282/1.328, allocations: 0.8877 MB / 1.313 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005264/1.333, allocations: 2.11 MB / 1.315 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/1.333, allocations: 6.516 kB / 1.315 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/1.334, allocations: 115 kB / 1.316 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005745/1.334, allocations: 187.8 kB / 1.316 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/1.334, allocations: 14.25 kB / 1.316 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/1.338, allocations: 2.191 MB / 1.318 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.338, allocations: 7.312 kB / 1.318 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/1.342, allocations: 1.42 MB / 1.319 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/1.342, allocations: 236.4 kB / 1.32 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.343, allocations: 11.16 kB / 1.32 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008687/1.343, allocations: 65.98 kB / 1.32 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.344, allocations: 41.83 kB / 1.32 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/1.344, allocations: 28.75 kB / 1.32 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008978/1.344, allocations: 0.5541 MB / 1.32 GB, free: 10.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.345, allocations: 0 / 1.32 GB, free: 10.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001101/1.346, allocations: 273.6 kB / 1.32 GB, free: 10.35 MB / 1.029 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.0005057/1.346, allocations: 205.6 kB / 1.321 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001952/1.348, allocations: 0.8141 MB / 1.321 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.788e-06/1.348, allocations: 2.438 kB / 1.321 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009066/1.349, allocations: 459.2 kB / 1.322 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/1.352, allocations: 0.5481 MB / 1.322 GB, free: 9.883 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/1.356, allocations: 1.902 MB / 1.324 GB, free: 9.094 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/1.357, allocations: 1.049 MB / 1.325 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007241/1.357, allocations: 203.9 kB / 1.326 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/1.358, allocations: 69.31 kB / 1.326 GB, free: 8.312 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/1.358, allocations: 0 / 1.326 GB, free: 8.312 MB / 1.029 GB Notification: Performance of Templates: time 0.02977/1.387, allocations: 20.78 MB / 1.346 GB, free: 2.945 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches