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.001322/0.001322, allocations: 104.3 kB / 16.41 MB, free: 6.457 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.001391/0.001391, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.428/2.428, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9395/0.9411, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05191/0.993, allocations: 49.79 MB / 1.216 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02133/1.014, allocations: 12.68 MB / 1.228 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003691/1.018, allocations: 83.5 kB / 1.228 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002598/1.021, allocations: 0.7761 MB / 1.229 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00632/1.027, allocations: 1.909 MB / 1.231 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004169/1.031, allocations: 1.363 MB / 1.232 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005578/1.037, allocations: 3.257 MB / 1.236 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002506/1.039, allocations: 1.266 MB / 1.237 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/1.044, allocations: 1.323 MB / 1.238 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/1.046, allocations: 0.933 MB / 1.239 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004354/1.046, allocations: 96 kB / 1.239 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/1.049, allocations: 1.064 MB / 1.24 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006168/1.05, allocations: 286.8 kB / 1.24 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0015/1.051, allocations: 0.6723 MB / 1.241 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00449/1.056, allocations: 1.953 MB / 1.243 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.056, allocations: 0 / 1.243 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.284e-06/1.056, allocations: 0 / 1.243 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.404e-05/1.056, allocations: 0 / 1.243 GB, free: 6.082 MB / 0.9669 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.004013/1.06, allocations: 1.707 MB / 1.245 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.06, allocations: 12.88 kB / 1.245 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008448/1.061, allocations: 207.1 kB / 1.245 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/1.064, allocations: 1.099 MB / 1.246 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/1.064, allocations: 66.38 kB / 1.246 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/1.064, allocations: 91.94 kB / 1.246 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/1.066, allocations: 1.003 MB / 1.247 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.066, allocations: 0 / 1.247 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/1.066, allocations: 32 kB / 1.247 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/1.066, allocations: 27.94 kB / 1.247 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/1.067, allocations: 0.6516 MB / 1.248 GB, free: 1.008 MB / 0.9669 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.005692/1.073, allocations: 4.726 MB / 1.252 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/1.074, allocations: 390.6 kB / 1.253 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/1.075, allocations: 220.7 kB / 1.253 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009036/1.076, allocations: 1.152 MB / 1.254 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.076, allocations: 34.56 kB / 1.254 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=29): time 3.035e-06/1.076, allocations: 0 / 1.254 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29): time 0.002815/1.079, allocations: 1.08 MB / 1.255 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/1.079, allocations: 55.34 kB / 1.255 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/1.08, allocations: 0.9754 MB / 1.256 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/1.08, allocations: 33.7 kB / 1.256 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/1.08, allocations: 0.5889 MB / 1.257 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/1.081, allocations: 106.5 kB / 1.257 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/1.081, allocations: 114 kB / 1.257 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.081, allocations: 326 kB / 1.257 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/1.081, allocations: 197 kB / 1.257 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006593/1.082, allocations: 406.3 kB / 1.258 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.083, allocations: 0.6028 MB / 1.258 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.083, allocations: 4 kB / 1.258 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001694/1.085, allocations: 0.7603 MB / 1.259 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/1.085, allocations: 8 kB / 1.259 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.085, allocations: 8 kB / 1.259 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007545/1.086, allocations: 154.8 kB / 1.259 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/1.086, allocations: 147.7 kB / 1.259 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/1.088, allocations: 1.719 MB / 1.261 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/1.088, allocations: 95.55 kB / 1.261 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/1.088, allocations: 35.97 kB / 1.261 GB, free: 2.168 MB / 0.9825 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.0005058/1.089, allocations: 266.2 kB / 1.262 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/1.089, allocations: 106.7 kB / 1.262 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/1.091, allocations: 0.7195 MB / 1.262 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/1.091, allocations: 7.984 kB / 1.262 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.091, allocations: 3.938 kB / 1.262 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.091, allocations: 3.938 kB / 1.262 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/1.094, allocations: 1.644 MB / 1.264 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/1.094, allocations: 0 / 1.264 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/1.095, allocations: 83.91 kB / 1.264 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000605/1.095, allocations: 154.5 kB / 1.264 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/1.095, allocations: 15.92 kB / 1.264 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/1.097, allocations: 1.704 MB / 1.266 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.097, allocations: 4.031 kB / 1.266 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/1.098, allocations: 0.7801 MB / 1.267 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/1.099, allocations: 247.6 kB / 1.267 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/1.099, allocations: 8 kB / 1.267 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/1.1, allocations: 43.95 kB / 1.267 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/1.1, allocations: 31.89 kB / 1.267 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/1.1, allocations: 19.98 kB / 1.267 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001004/1.101, allocations: 0.6658 MB / 1.268 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.101, allocations: 0 / 1.268 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001277/1.102, allocations: 375.1 kB / 1.268 GB, free: 11.05 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.001079/1.103, allocations: 418.4 kB / 1.268 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001625/1.105, allocations: 0.5477 MB / 1.269 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.105, allocations: 4 kB / 1.269 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000846/1.106, allocations: 284 kB / 1.269 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/1.108, allocations: 0.5167 MB / 1.27 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/1.112, allocations: 1.84 MB / 1.271 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/1.113, allocations: 1.107 MB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/1.113, allocations: 75.42 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of SimCode: time 2.485e-06/1.113, allocations: 0 / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of Templates: time 0.04295/1.156, allocations: 32.22 MB / 1.304 GB, free: 6.117 MB / 1.029 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches