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.001466/0.001467, allocations: 117 kB / 16.37 MB, free: 6.012 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.001647/0.001647, allocations: 188.9 kB / 17.3 MB, free: 5.613 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.359/1.359, 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.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.14 kB / 0.814 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2754, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.07559/0.351, allocations: 49.8 MB / 0.9997 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03296/0.384, allocations: 12.66 MB / 1.012 GB, free: 9.398 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.3876, allocations: 83.5 kB / 1.012 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003146/0.3909, allocations: 0.7526 MB / 1.013 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007083/0.398, allocations: 1.838 MB / 1.015 GB, free: 6.711 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003861/0.4019, allocations: 1.36 MB / 1.016 GB, free: 5.367 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00468/0.4066, allocations: 3.258 MB / 1.019 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.4088, allocations: 1.25 MB / 1.02 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.412, allocations: 1.303 MB / 1.022 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.4137, allocations: 0.9291 MB / 1.023 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003321/0.4141, allocations: 96 kB / 1.023 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.4166, allocations: 1.064 MB / 1.024 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000446/0.4171, allocations: 294.8 kB / 1.024 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009884/0.4181, allocations: 0.6722 MB / 1.025 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.4211, allocations: 1.947 MB / 1.027 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4211, allocations: 7.938 kB / 1.027 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4211, allocations: 0 / 1.027 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.959e-05/0.4212, allocations: 0 / 1.027 GB, free: 10.5 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.002927/0.4241, allocations: 1.697 MB / 1.028 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4242, allocations: 8.031 kB / 1.028 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005992/0.4248, allocations: 211 kB / 1.028 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.4267, allocations: 1.104 MB / 1.03 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/0.4268, allocations: 66.36 kB / 1.03 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.4269, allocations: 87.94 kB / 1.03 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.4285, allocations: 1.007 MB / 1.031 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.4286, allocations: 0 / 1.031 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.4286, allocations: 40 kB / 1.031 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.4287, allocations: 20 kB / 1.031 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.4301, allocations: 0.6438 MB / 1.031 GB, free: 5.426 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.004694/0.4348, allocations: 4.716 MB / 1.036 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.4359, allocations: 411.3 kB / 1.036 GB, free: 28 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.4364, allocations: 220.6 kB / 1.037 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000779/0.4372, allocations: 1.14 MB / 1.038 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4372, allocations: 42.55 kB / 1.038 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.4372, allocations: 0 / 1.038 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29): time 0.002716/0.4399, allocations: 1.07 MB / 1.039 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.44, allocations: 59.34 kB / 1.039 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.4411, allocations: 0.9793 MB / 1.04 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.4411, allocations: 29.7 kB / 1.04 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.4415, allocations: 0.5966 MB / 1.04 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.163e-05/0.4416, allocations: 94.56 kB / 1.04 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.4418, allocations: 118 kB / 1.041 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4419, allocations: 326 kB / 1.041 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.4424, allocations: 197 kB / 1.041 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.4431, allocations: 402.4 kB / 1.041 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4442, allocations: 0.6059 MB / 1.042 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4442, allocations: 0 / 1.042 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001529/0.4457, allocations: 0.756 MB / 1.043 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4458, allocations: 10.66 kB / 1.043 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.4458, allocations: 7.984 kB / 1.043 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.4464, allocations: 151.2 kB / 1.043 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.447, allocations: 155.7 kB / 1.043 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.4481, allocations: 1.716 MB / 1.045 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.4487, allocations: 91.23 kB / 1.045 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/0.4487, allocations: 35.98 kB / 1.045 GB, free: 6.594 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.0003618/0.4491, allocations: 273.1 kB / 1.045 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.4493, allocations: 106.8 kB / 1.045 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.451, allocations: 0.7235 MB / 1.046 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.451, allocations: 11.98 kB / 1.046 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.451, allocations: 3.938 kB / 1.046 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.451, allocations: 3.984 kB / 1.046 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.4537, allocations: 1.628 MB / 1.048 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.4537, allocations: 4 kB / 1.048 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.4541, allocations: 87.84 kB / 1.048 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005455/0.4547, allocations: 146.6 kB / 1.048 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.4547, allocations: 11.94 kB / 1.048 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009727/0.4557, allocations: 1.719 MB / 1.05 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4557, allocations: 0 / 1.05 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.4571, allocations: 0.7765 MB / 1.05 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.4575, allocations: 251.5 kB / 1.051 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.4576, allocations: 8 kB / 1.051 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005628/0.4582, allocations: 39.95 kB / 1.051 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.4583, allocations: 39.83 kB / 1.051 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.4583, allocations: 23.98 kB / 1.051 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00078/0.4591, allocations: 0.658 MB / 1.051 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4591, allocations: 0 / 1.051 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009931/0.4601, allocations: 371.2 kB / 1.052 GB, free: 15.47 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.0007697/0.4609, allocations: 411.1 kB / 1.052 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.4626, allocations: 0.5478 MB / 1.053 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.4626, allocations: 4 kB / 1.053 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008082/0.4634, allocations: 283.8 kB / 1.053 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.4657, allocations: 0.5306 MB / 1.053 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.469, allocations: 1.819 MB / 1.055 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008967/0.4699, allocations: 1.107 MB / 1.056 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007137/0.4706, allocations: 188.1 kB / 1.056 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.4708, allocations: 67.42 kB / 1.056 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of SimCode: time 1.082e-06/0.4708, allocations: 0 / 1.056 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of Templates: time 0.03272/0.5035, allocations: 20.65 MB / 1.077 GB, free: 6.105 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 gbode -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