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.001539/0.001539, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001808/0.001808, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.401/1.401, 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 11.0.1-master/package.mo): time 2.557/2.557, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 67.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9156/0.9178, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04763/0.9655, allocations: 49.79 MB / 1.257 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01905/0.9846, allocations: 12.68 MB / 1.269 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003497/0.9881, allocations: 79.56 kB / 1.27 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.9908, allocations: 0.7565 MB / 1.27 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005735/0.9965, allocations: 1.823 MB / 1.272 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003906/1, allocations: 1.377 MB / 1.273 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005044/1.006, allocations: 3.247 MB / 1.277 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/1.008, allocations: 1.258 MB / 1.278 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/1.012, allocations: 1.314 MB / 1.279 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/1.013, allocations: 0.9291 MB / 1.28 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003907/1.014, allocations: 96 kB / 1.28 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/1.017, allocations: 1.068 MB / 1.281 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005222/1.017, allocations: 290.8 kB / 1.281 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/1.019, allocations: 0.6839 MB / 1.282 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003572/1.022, allocations: 1.941 MB / 1.284 GB, free: 64 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.022, allocations: 4 kB / 1.284 GB, free: 60 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.022, allocations: 0 / 1.284 GB, free: 60 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.156e-05/1.022, allocations: 0 / 1.284 GB, free: 60 kB / 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.00282/1.025, allocations: 1.693 MB / 1.286 GB, free: 14.31 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.025, allocations: 12.03 kB / 1.286 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006452/1.026, allocations: 207.1 kB / 1.286 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/1.028, allocations: 1.099 MB / 1.287 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/1.028, allocations: 66.38 kB / 1.287 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/1.028, allocations: 83.94 kB / 1.287 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/1.03, allocations: 0.9996 MB / 1.288 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/1.03, allocations: 7.938 kB / 1.288 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/1.03, allocations: 43.98 kB / 1.288 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/1.03, allocations: 20 kB / 1.288 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/1.031, allocations: 0.6438 MB / 1.289 GB, free: 11 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.005051/1.037, allocations: 4.716 MB / 1.293 GB, free: 6.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/1.038, allocations: 406.5 kB / 1.294 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/1.038, allocations: 217.2 kB / 1.294 GB, free: 5.398 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008908/1.039, allocations: 1.156 MB / 1.295 GB, free: 3.984 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/1.039, allocations: 38.56 kB / 1.295 GB, free: 3.938 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 3.166e-06/1.039, allocations: 0 / 1.295 GB, free: 3.938 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.002928/1.042, allocations: 1.07 MB / 1.296 GB, free: 2.797 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/1.042, allocations: 59.34 kB / 1.296 GB, free: 2.727 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.043, allocations: 0.9754 MB / 1.297 GB, free: 1.738 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/1.043, allocations: 33.7 kB / 1.297 GB, free: 1.699 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/1.044, allocations: 0.5889 MB / 1.298 GB, free: 1.105 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.044, allocations: 106.5 kB / 1.298 GB, free: 1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/1.044, allocations: 110 kB / 1.298 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.044, allocations: 322 kB / 1.298 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/1.045, allocations: 201 kB / 1.298 GB, free: 380 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/1.046, allocations: 414.5 kB / 1.299 GB, free: 15.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/1.047, allocations: 0.5979 MB / 1.299 GB, free: 15.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.047, allocations: 4 kB / 1.299 GB, free: 15.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001711/1.048, allocations: 0.7481 MB / 1.3 GB, free: 14.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.049, allocations: 10.72 kB / 1.3 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.049, allocations: 8 kB / 1.3 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006732/1.049, allocations: 154.4 kB / 1.3 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/1.05, allocations: 151.8 kB / 1.3 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/1.051, allocations: 1.723 MB / 1.302 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/1.052, allocations: 83.33 kB / 1.302 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/1.052, allocations: 28 kB / 1.302 GB, free: 12.19 MB / 1.029 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.0004951/1.052, allocations: 273.7 kB / 1.302 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.052, allocations: 106.7 kB / 1.303 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/1.054, allocations: 0.7272 MB / 1.303 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/1.054, allocations: 8 kB / 1.303 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.054, allocations: 3.938 kB / 1.303 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.054, allocations: 3.984 kB / 1.303 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/1.057, allocations: 1.64 MB / 1.305 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.057, allocations: 0 / 1.305 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/1.058, allocations: 92.28 kB / 1.305 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005488/1.058, allocations: 150.4 kB / 1.305 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/1.058, allocations: 19.94 kB / 1.305 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/1.059, allocations: 1.7 MB / 1.307 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.059, allocations: 4.031 kB / 1.307 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/1.061, allocations: 0.7763 MB / 1.308 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/1.061, allocations: 243.6 kB / 1.308 GB, free: 6.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/1.061, allocations: 8 kB / 1.308 GB, free: 6.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/1.062, allocations: 47.95 kB / 1.308 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/1.062, allocations: 31.89 kB / 1.308 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/1.062, allocations: 19.98 kB / 1.308 GB, free: 6.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008898/1.063, allocations: 0.6619 MB / 1.309 GB, free: 5.422 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.5e-07/1.063, allocations: 4 kB / 1.309 GB, free: 5.418 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001108/1.064, allocations: 375.1 kB / 1.309 GB, free: 5.051 MB / 1.029 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.0008408/1.065, allocations: 408.6 kB / 1.309 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001575/1.067, allocations: 0.5599 MB / 1.31 GB, free: 4.086 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.067, allocations: 0 / 1.31 GB, free: 4.086 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007972/1.067, allocations: 292 kB / 1.31 GB, free: 3.801 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/1.07, allocations: 0.5236 MB / 1.311 GB, free: 3.293 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/1.074, allocations: 1.83 MB / 1.312 GB, free: 1.406 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009456/1.075, allocations: 1.091 MB / 1.314 GB, free: 296 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/1.075, allocations: 83.36 kB / 1.314 GB, free: 212 kB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/1.075, allocations: 0 / 1.314 GB, free: 212 kB / 1.029 GB Notification: Performance of Templates: time 0.04014/1.115, allocations: 32.23 MB / 1.345 GB, free: 120 kB / 1.061 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches