Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004906/0.004906, allocations: 106.8 kB / 15.74 MB, free: 6.445 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.001135/0.001135, allocations: 192.2 kB / 16.67 MB, free: 6.352 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 71.88 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3359, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 1.012/1.348, allocations: 191.1 MB / 1.407 GB, free: 15.66 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0112/1.359, allocations: 5.748 MB / 1.413 GB, free: 10.97 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/1.361, allocations: 42.62 kB / 1.413 GB, free: 10.96 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/1.363, allocations: 0.6024 MB / 1.414 GB, free: 10.46 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00518/1.368, allocations: 1.914 MB / 1.415 GB, free: 8.98 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003275/1.371, allocations: 1.204 MB / 1.417 GB, free: 8.066 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004186/1.375, allocations: 2.945 MB / 1.419 GB, free: 6.379 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/1.376, allocations: 0.8171 MB / 1.42 GB, free: 5.836 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/1.378, allocations: 1.094 MB / 1.421 GB, free: 5.195 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/1.38, allocations: 0.9163 MB / 1.422 GB, free: 4.66 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/1.38, allocations: 109.8 kB / 1.422 GB, free: 4.656 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/1.383, allocations: 1.435 MB / 1.424 GB, free: 3.891 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004976/1.384, allocations: 479.4 kB / 1.424 GB, free: 3.562 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008079/1.384, allocations: 0.6501 MB / 1.425 GB, free: 3.152 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003145/1.388, allocations: 2.14 MB / 1.427 GB, free: 1.762 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.388, allocations: 0 / 1.427 GB, free: 1.762 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.673e-06/1.388, allocations: 0 / 1.427 GB, free: 1.762 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.818e-05/1.388, allocations: 0 / 1.427 GB, free: 1.762 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002607/1.39, allocations: 1.55 MB / 1.428 GB, free: 440 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.39, allocations: 12.03 kB / 1.428 GB, free: 428 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/1.392, allocations: 319.9 kB / 1.429 GB, free: 108 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/1.394, allocations: 0.8637 MB / 1.43 GB, free: 15.2 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/1.394, allocations: 69.92 kB / 1.43 GB, free: 15.13 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/1.394, allocations: 84 kB / 1.43 GB, free: 15.05 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/1.396, allocations: 0.9131 MB / 1.431 GB, free: 14.13 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/1.396, allocations: 3.953 kB / 1.431 GB, free: 14.13 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.64e-05/1.396, allocations: 36 kB / 1.431 GB, free: 14.09 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/1.396, allocations: 30 kB / 1.431 GB, free: 14.06 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/1.397, allocations: 0.8353 MB / 1.431 GB, free: 13.23 MB / 1.123 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.005439/1.403, allocations: 3.514 MB / 1.435 GB, free: 9.488 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007914/1.404, allocations: 485.5 kB / 1.435 GB, free: 9.008 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/1.404, allocations: 271.5 kB / 1.436 GB, free: 8.742 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/1.404, allocations: 101.5 kB / 1.436 GB, free: 8.625 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/1.404, allocations: 39 kB / 1.436 GB, free: 8.578 MB / 1.123 GB Notification: Performance of pre-optimization done (n=47): time 2.013e-06/1.404, allocations: 4 kB / 1.436 GB, free: 8.574 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.003945/1.408, allocations: 1.932 MB / 1.438 GB, free: 6.543 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/1.408, allocations: 55.84 kB / 1.438 GB, free: 6.477 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/1.409, allocations: 0.8058 MB / 1.439 GB, free: 5.664 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/1.409, allocations: 37.7 kB / 1.439 GB, free: 5.621 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/1.41, allocations: 484.2 kB / 1.439 GB, free: 5.145 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/1.41, allocations: 186.4 kB / 1.439 GB, free: 4.961 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/1.41, allocations: 110.3 kB / 1.439 GB, free: 4.848 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.41, allocations: 337.9 kB / 1.44 GB, free: 4.512 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/1.411, allocations: 245.2 kB / 1.44 GB, free: 4.273 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/1.411, allocations: 349.3 kB / 1.44 GB, free: 3.895 MB / 1.123 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.003845/1.415, allocations: 1.545 MB / 1.442 GB, free: 2.305 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.415, allocations: 4 kB / 1.442 GB, free: 2.301 MB / 1.123 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00131/1.416, allocations: 0.781 MB / 1.442 GB, free: 1.504 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.416, allocations: 8 kB / 1.442 GB, free: 1.496 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.416, allocations: 4.344 kB / 1.442 GB, free: 1.492 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/1.417, allocations: 101.6 kB / 1.443 GB, free: 1.387 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/1.417, allocations: 139.8 kB / 1.443 GB, free: 1.25 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/1.42, allocations: 3.303 MB / 1.446 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000774/1.421, allocations: 24.05 kB / 1.446 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/1.421, allocations: 27.94 kB / 1.446 GB, free: 13.62 MB / 1.139 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 (67): * 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: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004611/1.422, allocations: 304.2 kB / 1.446 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/1.422, allocations: 95.44 kB / 1.446 GB, free: 13.23 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/1.422, allocations: 100.7 kB / 1.446 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.422, allocations: 7.984 kB / 1.446 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.422, allocations: 0 / 1.446 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/1.423, allocations: 0.8466 MB / 1.447 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/1.426, allocations: 1.792 MB / 1.449 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.426, allocations: 9.062 kB / 1.449 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/1.427, allocations: 131.8 kB / 1.449 GB, free: 10.15 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/1.427, allocations: 68.81 kB / 1.449 GB, free: 10.08 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/1.427, allocations: 11.98 kB / 1.449 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/1.429, allocations: 1.789 MB / 1.451 GB, free: 8.137 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.429, allocations: 7.938 kB / 1.451 GB, free: 8.129 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/1.43, allocations: 1.062 MB / 1.452 GB, free: 7.012 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/1.431, allocations: 248.4 kB / 1.452 GB, free: 6.75 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/1.431, allocations: 8 kB / 1.452 GB, free: 6.742 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/1.432, allocations: 35.59 kB / 1.452 GB, free: 6.711 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/1.432, allocations: 51.89 kB / 1.452 GB, free: 6.66 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/1.432, allocations: 27.98 kB / 1.452 GB, free: 6.633 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007157/1.432, allocations: 0.5615 MB / 1.453 GB, free: 6.078 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.432, allocations: 0 / 1.453 GB, free: 6.078 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009476/1.433, allocations: 280 kB / 1.453 GB, free: 5.805 MB / 1.139 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 (45): * Single equations (assignments): 44 * 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.0004494/1.434, allocations: 189.1 kB / 1.453 GB, free: 5.617 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001328/1.435, allocations: 0.7923 MB / 1.454 GB, free: 4.801 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.435, allocations: 0 / 1.454 GB, free: 4.801 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006152/1.436, allocations: 390.3 kB / 1.455 GB, free: 4.406 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.438, allocations: 0.6095 MB / 1.455 GB, free: 3.805 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/1.441, allocations: 1.841 MB / 1.457 GB, free: 1.887 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/1.442, allocations: 1.087 MB / 1.458 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006636/1.443, allocations: 207.7 kB / 1.458 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/1.443, allocations: 71.42 kB / 1.458 GB, free: 0.4922 MB / 1.139 GB Notification: Performance of SimCode: time 4.31e-07/1.443, allocations: 4 kB / 1.458 GB, free: 500 kB / 1.139 GB Notification: Performance of Templates: time 0.0347/1.478, allocations: 20.84 MB / 1.479 GB, free: 11.93 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches