Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00612/0.00612, allocations: 104.4 kB / 15.73 MB, free: 6.035 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.001401/0.001401, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.827/2.827, allocations: 461.9 MB / 0.7348 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 63.91 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3843, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.8343/1.219, allocations: 49.77 MB / 1.256 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01861/1.237, allocations: 12.69 MB / 1.269 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004327/1.242, allocations: 80.72 kB / 1.269 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003572/1.245, allocations: 0.7512 MB / 1.27 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008471/1.254, allocations: 1.83 MB / 1.271 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006551/1.26, allocations: 1.361 MB / 1.273 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009083/1.27, allocations: 3.265 MB / 1.276 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/1.272, allocations: 1.251 MB / 1.277 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/1.277, allocations: 1.319 MB / 1.278 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/1.28, allocations: 0.9288 MB / 1.279 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004112/1.28, allocations: 95.81 kB / 1.279 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/1.284, allocations: 1.069 MB / 1.28 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005391/1.285, allocations: 287.4 kB / 1.281 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/1.286, allocations: 0.6786 MB / 1.281 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004666/1.291, allocations: 1.95 MB / 1.283 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.291, allocations: 0.8438 kB / 1.283 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.814e-06/1.291, allocations: 1.062 kB / 1.283 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.867e-05/1.291, allocations: 0 / 1.283 GB, free: 1.09 MB / 0.9981 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.00331/1.294, allocations: 1.694 MB / 1.285 GB, free: 168 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.294, allocations: 10.97 kB / 1.285 GB, free: 168 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007875/1.295, allocations: 210 kB / 1.285 GB, free: 88 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/1.298, allocations: 1.097 MB / 1.286 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.91e-05/1.298, allocations: 67.34 kB / 1.286 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/1.298, allocations: 92.25 kB / 1.286 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/1.301, allocations: 0.9978 MB / 1.287 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/1.301, allocations: 6.062 kB / 1.287 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/1.301, allocations: 41.88 kB / 1.287 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/1.301, allocations: 22.59 kB / 1.287 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/1.303, allocations: 0.6468 MB / 1.288 GB, free: 15.35 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.007359/1.31, allocations: 4.718 MB / 1.293 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/1.312, allocations: 388.9 kB / 1.293 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/1.312, allocations: 220.3 kB / 1.293 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/1.313, allocations: 1.154 MB / 1.294 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/1.313, allocations: 37.14 kB / 1.294 GB, free: 10.74 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.825e-06/1.313, allocations: 1.031 kB / 1.294 GB, free: 10.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.003398/1.317, allocations: 1.07 MB / 1.295 GB, free: 10.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/1.317, allocations: 65.94 kB / 1.295 GB, free: 10.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/1.318, allocations: 0.9776 MB / 1.296 GB, free: 9.715 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.432e-05/1.318, allocations: 32.88 kB / 1.296 GB, free: 9.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000564/1.319, allocations: 0.5852 MB / 1.297 GB, free: 9.219 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/1.319, allocations: 104.8 kB / 1.297 GB, free: 9.141 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/1.319, allocations: 112.4 kB / 1.297 GB, free: 9.082 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.319, allocations: 325.6 kB / 1.298 GB, free: 8.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/1.32, allocations: 198.5 kB / 1.298 GB, free: 8.719 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009291/1.321, allocations: 411.8 kB / 1.298 GB, free: 8.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/1.322, allocations: 0.5953 MB / 1.299 GB, free: 8.016 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/1.322, allocations: 2.312 kB / 1.299 GB, free: 8.016 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002141/1.325, allocations: 0.7581 MB / 1.299 GB, free: 7.707 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.325, allocations: 8.656 kB / 1.299 GB, free: 7.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.325, allocations: 6.953 kB / 1.299 GB, free: 7.707 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008195/1.325, allocations: 164.7 kB / 1.3 GB, free: 7.648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/1.326, allocations: 144.8 kB / 1.3 GB, free: 7.637 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/1.327, allocations: 1.721 MB / 1.301 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/1.328, allocations: 83.64 kB / 1.302 GB, free: 5.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/1.328, allocations: 29.5 kB / 1.302 GB, free: 5.953 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006567/1.329, allocations: 272.4 kB / 1.302 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/1.329, allocations: 106.4 kB / 1.302 GB, free: 5.699 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/1.331, allocations: 0.731 MB / 1.303 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/1.331, allocations: 5.578 kB / 1.303 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.331, allocations: 3.938 kB / 1.303 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.331, allocations: 2.734 kB / 1.303 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/1.335, allocations: 1.636 MB / 1.304 GB, free: 4.586 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.335, allocations: 5.312 kB / 1.304 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/1.335, allocations: 87.36 kB / 1.304 GB, free: 4.578 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005884/1.336, allocations: 149.4 kB / 1.304 GB, free: 4.527 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/1.336, allocations: 18.12 kB / 1.304 GB, free: 4.516 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/1.337, allocations: 1.706 MB / 1.306 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.337, allocations: 6.469 kB / 1.306 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/1.339, allocations: 0.7808 MB / 1.307 GB, free: 2.457 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/1.34, allocations: 242.3 kB / 1.307 GB, free: 2.273 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.34, allocations: 8.219 kB / 1.307 GB, free: 2.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/1.341, allocations: 46.69 kB / 1.307 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/1.341, allocations: 30.19 kB / 1.307 GB, free: 2.254 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/1.341, allocations: 21.91 kB / 1.307 GB, free: 2.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001101/1.342, allocations: 0.66 MB / 1.308 GB, free: 1.977 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.342, allocations: 0 / 1.308 GB, free: 1.977 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001408/1.343, allocations: 373.2 kB / 1.308 GB, free: 1.887 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/1.344, allocations: 430.4 kB / 1.309 GB, free: 1.691 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001837/1.346, allocations: 0.5503 MB / 1.309 GB, free: 1.539 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.346, allocations: 1.344 kB / 1.309 GB, free: 1.539 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008759/1.347, allocations: 294.6 kB / 1.309 GB, free: 1.461 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/1.35, allocations: 0.5102 MB / 1.31 GB, free: 1.309 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/1.353, allocations: 1.812 MB / 1.312 GB, free: 360 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008828/1.354, allocations: 1.104 MB / 1.313 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000936/1.355, allocations: 184 kB / 1.313 GB, free: 15.58 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/1.355, allocations: 70.83 kB / 1.313 GB, free: 15.57 MB / 1.029 GB Notification: Performance of SimCode: time 6.82e-07/1.355, allocations: 0 / 1.313 GB, free: 15.57 MB / 1.029 GB Notification: Performance of Templates: time 0.04846/1.404, allocations: 21.13 MB / 1.334 GB, free: 8.41 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches