Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006885/0.006885, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001113/0.001113, allocations: 201 kB / 16.68 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3201, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05067/0.3708, allocations: 49.79 MB / 1.215 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01949/0.3903, allocations: 12.66 MB / 1.228 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/0.3934, allocations: 83.5 kB / 1.228 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.3958, allocations: 0.7565 MB / 1.228 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006055/0.4018, allocations: 1.835 MB / 1.23 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004033/0.4059, allocations: 1.369 MB / 1.232 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005414/0.4113, allocations: 3.249 MB / 1.235 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.4132, allocations: 1.25 MB / 1.236 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/0.4171, allocations: 1.308 MB / 1.237 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.4187, allocations: 0.9253 MB / 1.238 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.4189, allocations: 100 kB / 1.238 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.4219, allocations: 1.068 MB / 1.239 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003489/0.4223, allocations: 290.8 kB / 1.24 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009296/0.4232, allocations: 0.6684 MB / 1.24 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003549/0.4268, allocations: 1.965 MB / 1.242 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4268, allocations: 0 / 1.242 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4268, allocations: 4 kB / 1.242 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.4268, allocations: 4 kB / 1.242 GB, free: 9.227 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.00259/0.4294, allocations: 1.742 MB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4295, allocations: 15.98 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00062/0.4301, allocations: 215.9 kB / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.4321, allocations: 1.097 MB / 1.245 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/0.4321, allocations: 70.36 kB / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.4323, allocations: 87.94 kB / 1.245 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.434, allocations: 1.009 MB / 1.246 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.4341, allocations: 3.938 kB / 1.246 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/0.4341, allocations: 36 kB / 1.246 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.4342, allocations: 20 kB / 1.246 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.4356, allocations: 0.6516 MB / 1.247 GB, free: 4.098 MB / 0.9981 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.7846/1.22, allocations: 4.719 MB / 1.252 GB, free: 80.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/1.221, allocations: 398.8 kB / 1.252 GB, free: 80.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/1.222, allocations: 216.6 kB / 1.252 GB, free: 80.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006367/1.223, allocations: 1.141 MB / 1.253 GB, free: 79.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/1.223, allocations: 39.91 kB / 1.253 GB, free: 79.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=29): time 2.525e-06/1.223, allocations: 0 / 1.253 GB, free: 79.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.003046/1.226, allocations: 1.086 MB / 1.254 GB, free: 79.17 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/1.226, allocations: 55.69 kB / 1.254 GB, free: 79.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/1.227, allocations: 0.9783 MB / 1.255 GB, free: 78.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/1.227, allocations: 32.97 kB / 1.255 GB, free: 78.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/1.228, allocations: 0.6009 MB / 1.256 GB, free: 78.76 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.882e-05/1.228, allocations: 110.2 kB / 1.256 GB, free: 78.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/1.228, allocations: 112.2 kB / 1.256 GB, free: 78.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.506e-05/1.228, allocations: 324.9 kB / 1.257 GB, free: 78.31 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/1.229, allocations: 201.6 kB / 1.257 GB, free: 78.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000682/1.229, allocations: 410.9 kB / 1.257 GB, free: 77.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/1.231, allocations: 0.602 MB / 1.258 GB, free: 77.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.231, allocations: 1.906 kB / 1.258 GB, free: 77.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001835/1.232, allocations: 0.7637 MB / 1.258 GB, free: 77.33 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.232, allocations: 7.969 kB / 1.258 GB, free: 77.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.232, allocations: 6.625 kB / 1.258 GB, free: 77.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/1.233, allocations: 155.9 kB / 1.259 GB, free: 77.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/1.234, allocations: 146.5 kB / 1.259 GB, free: 77.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008735/1.235, allocations: 1.726 MB / 1.26 GB, free: 75.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/1.235, allocations: 86.39 kB / 1.26 GB, free: 75.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/1.236, allocations: 33.08 kB / 1.261 GB, free: 75.61 MB / 0.9981 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.0004121/1.236, allocations: 268.9 kB / 1.261 GB, free: 75.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/1.236, allocations: 115.2 kB / 1.261 GB, free: 75.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/1.238, allocations: 0.73 MB / 1.262 GB, free: 75.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/1.238, allocations: 5.828 kB / 1.262 GB, free: 75.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/1.238, allocations: 5.562 kB / 1.262 GB, free: 75.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/1.238, allocations: 1.266 kB / 1.262 GB, free: 75.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/1.241, allocations: 1.634 MB / 1.263 GB, free: 74.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.241, allocations: 4.094 kB / 1.263 GB, free: 74.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/1.242, allocations: 84.61 kB / 1.263 GB, free: 74.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005965/1.242, allocations: 153.8 kB / 1.263 GB, free: 74.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/1.242, allocations: 14.77 kB / 1.263 GB, free: 74.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000794/1.243, allocations: 1.713 MB / 1.265 GB, free: 72.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.243, allocations: 1.844 kB / 1.265 GB, free: 72.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/1.245, allocations: 0.7866 MB / 1.266 GB, free: 72.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/1.245, allocations: 249.2 kB / 1.266 GB, free: 71.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.245, allocations: 7.594 kB / 1.266 GB, free: 71.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/1.246, allocations: 47.23 kB / 1.266 GB, free: 71.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.246, allocations: 33.86 kB / 1.266 GB, free: 71.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/1.246, allocations: 18.45 kB / 1.266 GB, free: 71.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001218/1.248, allocations: 0.6583 MB / 1.267 GB, free: 71.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.248, allocations: 2.438 kB / 1.267 GB, free: 71.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00137/1.249, allocations: 385.6 kB / 1.267 GB, free: 71.64 MB / 0.9981 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.0009788/1.25, allocations: 414.1 kB / 1.268 GB, free: 71.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001681/1.252, allocations: 0.5398 MB / 1.268 GB, free: 71.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.252, allocations: 1.125 kB / 1.268 GB, free: 71.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008067/1.252, allocations: 298.4 kB / 1.268 GB, free: 71.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.255, allocations: 0.5232 MB / 1.269 GB, free: 71.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/1.258, allocations: 1.846 MB / 1.271 GB, free: 70.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/1.258, allocations: 1.098 MB / 1.272 GB, free: 69.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000678/1.259, allocations: 185.5 kB / 1.272 GB, free: 69.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/1.259, allocations: 71.02 kB / 1.272 GB, free: 69.43 MB / 0.9981 GB Notification: Performance of SimCode: time 1.683e-06/1.259, allocations: 0 / 1.272 GB, free: 69.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.04325/1.302, allocations: 20.81 MB / 1.292 GB, free: 65.27 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches