Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_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_9_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.008358/0.008358, allocations: 100.3 kB / 15.73 MB, free: 6.449 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.001936/0.001936, allocations: 198.2 kB / 16.68 MB, free: 6.355 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.528/2.528, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 61.97 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3201, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9707/1.291, allocations: 190.6 MB / 1.274 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01047/1.301, allocations: 5.733 MB / 1.28 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/1.304, allocations: 43.2 kB / 1.28 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/1.306, allocations: 0.5982 MB / 1.28 GB, free: 3.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006045/1.312, allocations: 1.913 MB / 1.282 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004165/1.316, allocations: 1.201 MB / 1.283 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005172/1.321, allocations: 2.95 MB / 1.286 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/1.323, allocations: 0.9529 MB / 1.287 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/1.326, allocations: 1.097 MB / 1.288 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/1.328, allocations: 0.9204 MB / 1.289 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002963/1.329, allocations: 108.5 kB / 1.289 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004081/1.333, allocations: 1.441 MB / 1.291 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007252/1.333, allocations: 456.9 kB / 1.291 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/1.335, allocations: 0.6543 MB / 1.292 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005623/1.34, allocations: 2.135 MB / 1.294 GB, free: 3.109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.34, allocations: 2.188 kB / 1.294 GB, free: 3.109 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.265e-06/1.341, allocations: 0 / 1.294 GB, free: 3.109 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.159e-05/1.341, allocations: 0.6562 kB / 1.294 GB, free: 3.109 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003295/1.344, allocations: 1.514 MB / 1.295 GB, free: 2.324 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.344, allocations: 10.17 kB / 1.295 GB, free: 2.324 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/1.346, allocations: 322.4 kB / 1.296 GB, free: 2.262 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/1.348, allocations: 0.8491 MB / 1.296 GB, free: 1.941 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/1.348, allocations: 63.72 kB / 1.296 GB, free: 1.938 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/1.348, allocations: 87.38 kB / 1.297 GB, free: 1.938 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/1.35, allocations: 0.9065 MB / 1.297 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/1.35, allocations: 0 / 1.297 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/1.35, allocations: 38.09 kB / 1.297 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-05/1.351, allocations: 31.89 kB / 1.298 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/1.352, allocations: 0.8294 MB / 1.298 GB, free: 1.867 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.006942/1.359, allocations: 3.515 MB / 1.302 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008569/1.36, allocations: 498.7 kB / 1.302 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/1.36, allocations: 301.2 kB / 1.303 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/1.361, allocations: 101.6 kB / 1.303 GB, free: 16.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/1.361, allocations: 43.47 kB / 1.303 GB, free: 16.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/1.361, allocations: 1.5 kB / 1.303 GB, free: 16.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.004873/1.366, allocations: 1.923 MB / 1.305 GB, free: 15.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/1.366, allocations: 57.94 kB / 1.305 GB, free: 15.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/1.367, allocations: 0.8013 MB / 1.305 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.749e-05/1.367, allocations: 38.48 kB / 1.305 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/1.368, allocations: 477.8 kB / 1.306 GB, free: 15.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/1.368, allocations: 172 kB / 1.306 GB, free: 15.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/1.368, allocations: 111.6 kB / 1.306 GB, free: 15.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.368, allocations: 332.4 kB / 1.306 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/1.369, allocations: 239.5 kB / 1.307 GB, free: 14.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/1.37, allocations: 358.1 kB / 1.307 GB, free: 14.75 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.003944/1.374, allocations: 1.537 MB / 1.309 GB, free: 14.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.374, allocations: 2 kB / 1.309 GB, free: 14.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001771/1.375, allocations: 0.7853 MB / 1.309 GB, free: 14.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/1.375, allocations: 12.53 kB / 1.309 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.375, allocations: 6.25 kB / 1.309 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/1.376, allocations: 96.69 kB / 1.309 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/1.376, allocations: 146.9 kB / 1.31 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/1.379, allocations: 3.294 MB / 1.313 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.381, allocations: 24.05 kB / 1.313 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/1.381, allocations: 19.91 kB / 1.313 GB, free: 11.7 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 (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.0006842/1.381, allocations: 303.3 kB / 1.313 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/1.381, allocations: 93.75 kB / 1.313 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/1.382, allocations: 105.4 kB / 1.313 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.382, allocations: 9.562 kB / 1.313 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.382, allocations: 3.938 kB / 1.313 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/1.383, allocations: 0.8364 MB / 1.314 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/1.386, allocations: 1.791 MB / 1.316 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.386, allocations: 7.375 kB / 1.316 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/1.386, allocations: 132.9 kB / 1.316 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/1.387, allocations: 66.45 kB / 1.316 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/1.387, allocations: 16.45 kB / 1.316 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/1.389, allocations: 1.776 MB / 1.318 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.389, allocations: 6.219 kB / 1.318 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/1.391, allocations: 1.075 MB / 1.319 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005951/1.391, allocations: 237.9 kB / 1.319 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/1.392, allocations: 12.62 kB / 1.319 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/1.392, allocations: 33.78 kB / 1.319 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.392, allocations: 49.86 kB / 1.319 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.641e-05/1.393, allocations: 30.55 kB / 1.319 GB, free: 8.824 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008903/1.393, allocations: 0.5611 MB / 1.32 GB, free: 8.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.91e-07/1.393, allocations: 0.9062 kB / 1.32 GB, free: 8.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00138/1.395, allocations: 282 kB / 1.32 GB, free: 8.727 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 (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.0005659/1.395, allocations: 185 kB / 1.32 GB, free: 8.633 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002037/1.397, allocations: 0.8056 MB / 1.321 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/1.397, allocations: 9.312 kB / 1.321 GB, free: 8.398 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007682/1.398, allocations: 414.7 kB / 1.321 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/1.401, allocations: 0.6135 MB / 1.322 GB, free: 8.199 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/1.405, allocations: 1.808 MB / 1.324 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007631/1.405, allocations: 1.088 MB / 1.325 GB, free: 6.703 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009797/1.406, allocations: 208 kB / 1.325 GB, free: 6.652 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/1.407, allocations: 68.44 kB / 1.325 GB, free: 6.645 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/1.407, allocations: 0 / 1.325 GB, free: 6.645 MB / 1.029 GB Notification: Performance of Templates: time 0.03803/1.445, allocations: 20.75 MB / 1.345 GB, free: 2.453 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches