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.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.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.00146/0.00146, allocations: 107.7 kB / 16.41 MB, free: 6.488 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.001452/0.001452, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.14 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.236/2.236, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 63.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9712/0.9728, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05543/1.028, allocations: 49.78 MB / 1.137 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02084/1.049, allocations: 12.67 MB / 1.15 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00376/1.053, allocations: 79.69 kB / 1.15 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/1.056, allocations: 0.7784 MB / 1.15 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007095/1.063, allocations: 1.914 MB / 1.152 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005137/1.068, allocations: 1.367 MB / 1.154 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006662/1.074, allocations: 3.266 MB / 1.157 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/1.077, allocations: 1.256 MB / 1.158 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004987/1.082, allocations: 1.314 MB / 1.159 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/1.085, allocations: 0.9349 MB / 1.16 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006149/1.086, allocations: 96.22 kB / 1.16 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004194/1.09, allocations: 1.069 MB / 1.161 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00076/1.091, allocations: 289.2 kB / 1.162 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002075/1.093, allocations: 0.674 MB / 1.162 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005996/1.099, allocations: 1.952 MB / 1.164 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.099, allocations: 0 / 1.164 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.555e-06/1.099, allocations: 0 / 1.164 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.015e-05/1.099, allocations: 0 / 1.164 GB, free: 1.48 MB / 0.9044 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.004585/1.103, allocations: 1.706 MB / 1.166 GB, free: 344 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.103, allocations: 8.781 kB / 1.166 GB, free: 344 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007403/1.104, allocations: 211.2 kB / 1.166 GB, free: 256 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/1.107, allocations: 1.092 MB / 1.167 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/1.107, allocations: 65.84 kB / 1.167 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/1.107, allocations: 87.78 kB / 1.167 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/1.109, allocations: 1 MB / 1.168 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/1.109, allocations: 5.438 kB / 1.168 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/1.109, allocations: 37 kB / 1.168 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/1.109, allocations: 23.08 kB / 1.168 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/1.111, allocations: 0.6476 MB / 1.169 GB, free: 14.75 MB / 0.92 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.00638/1.117, allocations: 4.721 MB / 1.174 GB, free: 10.51 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/1.119, allocations: 400.1 kB / 1.174 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005465/1.119, allocations: 211.7 kB / 1.174 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009355/1.12, allocations: 1.153 MB / 1.175 GB, free: 8.848 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/1.12, allocations: 36.92 kB / 1.175 GB, free: 8.805 MB / 0.92 GB Notification: Performance of pre-optimization done (n=29): time 4.609e-06/1.12, allocations: 3.984 kB / 1.175 GB, free: 8.801 MB / 0.92 GB Notification: Performance of matching and sorting (n=29): time 0.003118/1.123, allocations: 1.075 MB / 1.176 GB, free: 8.086 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/1.123, allocations: 62.72 kB / 1.176 GB, free: 8.016 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/1.125, allocations: 0.9704 MB / 1.177 GB, free: 7.477 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-05/1.125, allocations: 36.31 kB / 1.177 GB, free: 7.438 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/1.126, allocations: 0.5824 MB / 1.178 GB, free: 6.922 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/1.126, allocations: 112.9 kB / 1.178 GB, free: 6.824 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/1.126, allocations: 117.2 kB / 1.178 GB, free: 6.75 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.126, allocations: 327.4 kB / 1.179 GB, free: 6.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/1.127, allocations: 194.8 kB / 1.179 GB, free: 6.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/1.127, allocations: 404.6 kB / 1.179 GB, free: 5.988 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/1.129, allocations: 0.5967 MB / 1.18 GB, free: 5.527 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/1.129, allocations: 2.188 kB / 1.18 GB, free: 5.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001905/1.131, allocations: 0.7578 MB / 1.18 GB, free: 5.125 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.131, allocations: 10.41 kB / 1.18 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.131, allocations: 5.969 kB / 1.18 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007168/1.131, allocations: 162.3 kB / 1.181 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/1.132, allocations: 149.9 kB / 1.181 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/1.133, allocations: 1.724 MB / 1.182 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009475/1.134, allocations: 88.45 kB / 1.183 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.221e-05/1.134, allocations: 35.89 kB / 1.183 GB, free: 3.242 MB / 0.92 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.0006158/1.135, allocations: 260 kB / 1.183 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/1.135, allocations: 115 kB / 1.183 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/1.137, allocations: 0.7212 MB / 1.184 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.137, allocations: 3.938 kB / 1.184 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.137, allocations: 5.25 kB / 1.184 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.137, allocations: 3.984 kB / 1.184 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/1.141, allocations: 1.633 MB / 1.185 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.141, allocations: 1.156 kB / 1.185 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/1.141, allocations: 90.75 kB / 1.185 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005824/1.142, allocations: 154.7 kB / 1.185 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/1.142, allocations: 11.88 kB / 1.185 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/1.143, allocations: 1.709 MB / 1.187 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.143, allocations: 6.594 kB / 1.187 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/1.144, allocations: 0.7655 MB / 1.188 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/1.145, allocations: 248.6 kB / 1.188 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/1.145, allocations: 7.906 kB / 1.188 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006881/1.146, allocations: 45.83 kB / 1.188 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/1.146, allocations: 36.3 kB / 1.188 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/1.146, allocations: 21.14 kB / 1.188 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001018/1.147, allocations: 0.6592 MB / 1.189 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.725e-06/1.147, allocations: 4 kB / 1.189 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001682/1.149, allocations: 382.6 kB / 1.189 GB, free: 14.34 MB / 0.9356 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.001168/1.15, allocations: 398.7 kB / 1.19 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001632/1.152, allocations: 0.5528 MB / 1.19 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.152, allocations: 1.094 kB / 1.19 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008282/1.152, allocations: 305.1 kB / 1.19 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/1.155, allocations: 0.5259 MB / 1.191 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/1.158, allocations: 1.827 MB / 1.193 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/1.159, allocations: 1.099 MB / 1.194 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/1.159, allocations: 71.08 kB / 1.194 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of SimCode: time 6.82e-07/1.16, allocations: 3.938 kB / 1.194 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.04391/1.203, allocations: 32.23 MB / 1.225 GB, free: 0.7148 MB / 0.9512 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 -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