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.005233/0.005233, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001093/0.001093, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.246/2.246, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 60.14 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9975/0.999, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2808/1.28, allocations: 190.6 MB / 1.274 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01036/1.29, allocations: 5.736 MB / 1.28 GB, free: 9.281 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/1.292, allocations: 39.75 kB / 1.28 GB, free: 9.242 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/1.293, allocations: 0.6059 MB / 1.28 GB, free: 8.633 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/1.298, allocations: 1.91 MB / 1.282 GB, free: 6.715 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003047/1.301, allocations: 1.195 MB / 1.283 GB, free: 5.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003638/1.305, allocations: 2.959 MB / 1.286 GB, free: 2.562 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/1.306, allocations: 0.947 MB / 1.287 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/1.308, allocations: 1.105 MB / 1.288 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/1.31, allocations: 0.9113 MB / 1.289 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/1.31, allocations: 108 kB / 1.289 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/1.313, allocations: 1.434 MB / 1.291 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004475/1.313, allocations: 462.8 kB / 1.291 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00071/1.314, allocations: 0.6494 MB / 1.292 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002969/1.317, allocations: 2.141 MB / 1.294 GB, free: 10.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.317, allocations: 0 / 1.294 GB, free: 10.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/1.317, allocations: 0 / 1.294 GB, free: 10.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.61e-05/1.317, allocations: 0 / 1.294 GB, free: 10.79 MB / 1.029 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.002389/1.319, allocations: 1.552 MB / 1.295 GB, free: 9.184 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/1.319, allocations: 11.97 kB / 1.295 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/1.321, allocations: 322.9 kB / 1.296 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/1.323, allocations: 0.8676 MB / 1.296 GB, free: 7.945 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/1.323, allocations: 62 kB / 1.297 GB, free: 7.883 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/1.323, allocations: 84 kB / 1.297 GB, free: 7.801 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/1.325, allocations: 0.9092 MB / 1.297 GB, free: 6.883 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/1.325, allocations: 3.984 kB / 1.298 GB, free: 6.879 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/1.325, allocations: 36 kB / 1.298 GB, free: 6.844 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/1.325, allocations: 33.94 kB / 1.298 GB, free: 6.812 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/1.326, allocations: 0.8276 MB / 1.298 GB, free: 5.984 MB / 1.029 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.005211/1.331, allocations: 3.51 MB / 1.302 GB, free: 2.254 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/1.332, allocations: 0.5004 MB / 1.302 GB, free: 1.746 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/1.333, allocations: 299 kB / 1.303 GB, free: 1.453 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/1.333, allocations: 105.5 kB / 1.303 GB, free: 1.332 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/1.333, allocations: 43 kB / 1.303 GB, free: 1.281 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 2.194e-06/1.333, allocations: 4 kB / 1.303 GB, free: 1.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.003817/1.337, allocations: 1.932 MB / 1.305 GB, free: 15.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/1.337, allocations: 55.84 kB / 1.305 GB, free: 15.18 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009284/1.338, allocations: 0.8058 MB / 1.305 GB, free: 14.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/1.338, allocations: 37.7 kB / 1.305 GB, free: 14.32 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000334/1.338, allocations: 488.2 kB / 1.306 GB, free: 13.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/1.338, allocations: 174.5 kB / 1.306 GB, free: 13.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.338, allocations: 118.2 kB / 1.306 GB, free: 13.54 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.338, allocations: 337.9 kB / 1.307 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/1.339, allocations: 237.2 kB / 1.307 GB, free: 12.98 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/1.339, allocations: 353.2 kB / 1.307 GB, free: 12.59 MB / 1.045 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.003653/1.343, allocations: 1.53 MB / 1.309 GB, free: 11.01 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.343, allocations: 4 kB / 1.309 GB, free: 11.01 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001338/1.344, allocations: 0.7888 MB / 1.309 GB, free: 10.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.344, allocations: 8 kB / 1.309 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.345, allocations: 4.344 kB / 1.309 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/1.345, allocations: 101.6 kB / 1.309 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/1.345, allocations: 135.9 kB / 1.31 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/1.349, allocations: 3.297 MB / 1.313 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009019/1.349, allocations: 35.98 kB / 1.313 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/1.35, allocations: 20 kB / 1.313 GB, free: 6.32 MB / 1.045 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.0005423/1.35, allocations: 304.3 kB / 1.313 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/1.35, allocations: 99.39 kB / 1.313 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/1.35, allocations: 100.7 kB / 1.313 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/1.35, allocations: 4 kB / 1.313 GB, free: 5.816 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.35, allocations: 7.938 kB / 1.313 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/1.352, allocations: 0.8465 MB / 1.314 GB, free: 4.871 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/1.354, allocations: 1.791 MB / 1.316 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.354, allocations: 4 kB / 1.316 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/1.355, allocations: 127.8 kB / 1.316 GB, free: 2.848 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000227/1.355, allocations: 64.81 kB / 1.316 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/1.355, allocations: 12 kB / 1.316 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/1.357, allocations: 1.793 MB / 1.318 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.357, allocations: 7.938 kB / 1.318 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/1.359, allocations: 1.074 MB / 1.319 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/1.359, allocations: 240.4 kB / 1.319 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.359, allocations: 12 kB / 1.319 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006655/1.36, allocations: 27.97 kB / 1.319 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.36, allocations: 51.89 kB / 1.319 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-05/1.36, allocations: 27.98 kB / 1.319 GB, free: 15.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008143/1.361, allocations: 0.5654 MB / 1.32 GB, free: 14.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.361, allocations: 0 / 1.32 GB, free: 14.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009152/1.362, allocations: 280 kB / 1.32 GB, free: 14.5 MB / 1.061 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.0005182/1.362, allocations: 185 kB / 1.32 GB, free: 14.31 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001273/1.364, allocations: 0.8079 MB / 1.321 GB, free: 13.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.364, allocations: 0 / 1.321 GB, free: 13.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005542/1.364, allocations: 424.2 kB / 1.322 GB, free: 13.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.367, allocations: 0.6097 MB / 1.322 GB, free: 12.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/1.37, allocations: 1.825 MB / 1.324 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006726/1.37, allocations: 1.095 MB / 1.325 GB, free: 9.426 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006825/1.371, allocations: 207.7 kB / 1.325 GB, free: 9.219 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/1.371, allocations: 63.44 kB / 1.325 GB, free: 9.156 MB / 1.061 GB Notification: Performance of SimCode: time 8.02e-07/1.371, allocations: 4 kB / 1.325 GB, free: 9.152 MB / 1.061 GB Notification: Performance of Templates: time 0.03514/1.406, allocations: 20.75 MB / 1.345 GB, free: 4.707 MB / 1.076 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