Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.00187/0.00187, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001906/0.001906, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.545/1.545, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 62.81 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2821, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04887/0.331, allocations: 49.79 MB / 0.9997 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.3507, allocations: 12.67 MB / 1.012 GB, free: 9.387 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.3539, allocations: 83.5 kB / 1.012 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.3566, allocations: 0.7487 MB / 1.013 GB, free: 8.551 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005727/0.3624, allocations: 1.834 MB / 1.015 GB, free: 6.707 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.3663, allocations: 1.363 MB / 1.016 GB, free: 5.355 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004917/0.3712, allocations: 3.259 MB / 1.019 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.3729, allocations: 1.246 MB / 1.02 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.3758, allocations: 1.305 MB / 1.022 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.377, allocations: 0.9369 MB / 1.023 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.3772, allocations: 96 kB / 1.023 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.3795, allocations: 1.064 MB / 1.024 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.3798, allocations: 286.8 kB / 1.024 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007331/0.3805, allocations: 0.6761 MB / 1.025 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.3833, allocations: 1.947 MB / 1.027 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3834, allocations: 4 kB / 1.027 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3834, allocations: 0 / 1.027 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.3834, allocations: 0 / 1.027 GB, free: 10.49 MB / 0.8106 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.002663/0.3861, allocations: 1.701 MB / 1.028 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3861, allocations: 8.031 kB / 1.028 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006032/0.3867, allocations: 211 kB / 1.028 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.3888, allocations: 1.1 MB / 1.03 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/0.3888, allocations: 62.38 kB / 1.03 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.389, allocations: 83.94 kB / 1.03 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.3906, allocations: 1.007 MB / 1.031 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.3907, allocations: 4 kB / 1.031 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.3907, allocations: 36 kB / 1.031 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.3908, allocations: 24 kB / 1.031 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.3923, allocations: 0.6555 MB / 1.031 GB, free: 5.41 MB / 0.8106 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.00524/0.3975, allocations: 4.708 MB / 1.036 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.3986, allocations: 402.5 kB / 1.036 GB, free: 28 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.3991, allocations: 216.7 kB / 1.037 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.4002, allocations: 1.144 MB / 1.038 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.4003, allocations: 42.56 kB / 1.038 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=29): time 1.813e-06/0.4003, allocations: 0 / 1.038 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29): time 0.002877/0.4032, allocations: 1.066 MB / 1.039 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.4033, allocations: 67.27 kB / 1.039 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.4045, allocations: 0.9754 MB / 1.04 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.4045, allocations: 33.7 kB / 1.04 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.405, allocations: 0.5888 MB / 1.04 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4051, allocations: 110.5 kB / 1.04 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.4053, allocations: 110 kB / 1.041 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4054, allocations: 329.9 kB / 1.041 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.4059, allocations: 197 kB / 1.041 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/0.4066, allocations: 414.3 kB / 1.041 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.4077, allocations: 0.5943 MB / 1.042 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.4078, allocations: 0 / 1.042 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00162/0.4094, allocations: 0.756 MB / 1.043 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4094, allocations: 10.97 kB / 1.043 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4094, allocations: 8 kB / 1.043 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007062/0.4101, allocations: 159.2 kB / 1.043 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.4108, allocations: 147.7 kB / 1.043 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.4121, allocations: 1.723 MB / 1.045 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/0.4128, allocations: 83.25 kB / 1.045 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.4129, allocations: 31.98 kB / 1.045 GB, free: 6.59 MB / 0.8262 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.0004856/0.4134, allocations: 273.6 kB / 1.045 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.4136, allocations: 110.8 kB / 1.045 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.4153, allocations: 0.7228 MB / 1.046 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.4154, allocations: 12.19 kB / 1.046 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.4154, allocations: 7.938 kB / 1.046 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4154, allocations: 3.984 kB / 1.046 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.4182, allocations: 1.621 MB / 1.048 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.4182, allocations: 3.984 kB / 1.048 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.4187, allocations: 92.03 kB / 1.048 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005618/0.4193, allocations: 146.5 kB / 1.048 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.4193, allocations: 15.92 kB / 1.048 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.4204, allocations: 1.708 MB / 1.05 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4204, allocations: 4.031 kB / 1.05 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.422, allocations: 0.7765 MB / 1.05 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/0.4225, allocations: 251.5 kB / 1.051 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.4226, allocations: 4 kB / 1.051 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/0.4232, allocations: 47.94 kB / 1.051 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.4233, allocations: 35.84 kB / 1.051 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.4233, allocations: 19.98 kB / 1.051 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009121/0.4242, allocations: 0.6619 MB / 1.051 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4242, allocations: 0 / 1.051 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001117/0.4254, allocations: 371.2 kB / 1.052 GB, free: 15.46 MB / 0.8419 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.0008483/0.4262, allocations: 412.6 kB / 1.052 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.4277, allocations: 0.5477 MB / 1.053 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4277, allocations: 320 / 1.053 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007382/0.4284, allocations: 292 kB / 1.053 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.4305, allocations: 0.5249 MB / 1.053 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.4335, allocations: 1.813 MB / 1.055 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.4342, allocations: 1.107 MB / 1.056 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006357/0.4348, allocations: 192.1 kB / 1.056 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.435, allocations: 63.44 kB / 1.056 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of SimCode: time 6.61e-07/0.435, allocations: 0 / 1.056 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.03837/0.4734, allocations: 20.65 MB / 1.077 GB, free: 6.098 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches