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.001144/0.001144, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001248/0.001248, allocations: 197.9 kB / 16.14 MB, free: 6.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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.351/2.351, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7356/0.7369, allocations: 140.4 MB / 0.9489 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05072/0.7877, allocations: 49.47 MB / 0.9972 GB, free: 0.5391 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02399/0.8117, allocations: 12.71 MB / 1.01 GB, free: 3.797 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005482/0.8173, allocations: 71.5 kB / 1.01 GB, free: 3.727 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003467/0.8209, allocations: 0.6252 MB / 1.01 GB, free: 3.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007507/0.8284, allocations: 1.695 MB / 1.012 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004461/0.8329, allocations: 1.202 MB / 1.013 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006876/0.8398, allocations: 4.377 MB / 1.017 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002601/0.8424, allocations: 1.079 MB / 1.018 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.8458, allocations: 1.112 MB / 1.02 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/0.8482, allocations: 0.9524 MB / 1.02 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005222/0.8488, allocations: 60 kB / 1.021 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.8523, allocations: 1.06 MB / 1.022 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006846/0.853, allocations: 246.8 kB / 1.022 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001653/0.8547, allocations: 0.6371 MB / 1.022 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004548/0.8592, allocations: 1.92 MB / 1.024 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8593, allocations: 0 / 1.024 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.01e-07/0.8593, allocations: 4 kB / 1.024 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.071e-05/0.8594, allocations: 0 / 1.024 GB, free: 4.703 MB / 0.7794 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.003741/0.8631, allocations: 1.689 MB / 1.026 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8632, allocations: 8.031 kB / 1.026 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000759/0.8639, allocations: 211 kB / 1.026 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.8662, allocations: 1.092 MB / 1.027 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003546/0.8666, allocations: 126.2 kB / 1.027 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.8667, allocations: 84 kB / 1.027 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.8687, allocations: 0.9883 MB / 1.028 GB, free: 344 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.8687, allocations: 3.938 kB / 1.028 GB, free: 340 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.561e-05/0.8688, allocations: 40 kB / 1.028 GB, free: 300 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.8688, allocations: 20 kB / 1.028 GB, free: 280 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.8705, allocations: 0.6557 MB / 1.029 GB, free: 15.61 MB / 0.795 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.006052/0.8765, allocations: 4.412 MB / 1.033 GB, free: 10.95 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.8778, allocations: 418.4 kB / 1.034 GB, free: 10.53 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.8784, allocations: 224.7 kB / 1.034 GB, free: 10.3 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000976/0.8794, allocations: 1.148 MB / 1.035 GB, free: 8.898 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.8794, allocations: 42.55 kB / 1.035 GB, free: 8.848 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.8794, allocations: 0 / 1.035 GB, free: 8.848 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.003144/0.8826, allocations: 1.088 MB / 1.036 GB, free: 7.688 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.8827, allocations: 63.34 kB / 1.036 GB, free: 7.613 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.8841, allocations: 0.9356 MB / 1.037 GB, free: 6.664 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/0.8842, allocations: 29.7 kB / 1.037 GB, free: 6.629 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.8847, allocations: 0.5812 MB / 1.038 GB, free: 6.043 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.8848, allocations: 98.64 kB / 1.038 GB, free: 5.945 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.885, allocations: 110 kB / 1.038 GB, free: 5.832 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8852, allocations: 322 kB / 1.038 GB, free: 5.512 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/0.8857, allocations: 197 kB / 1.039 GB, free: 5.316 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.8864, allocations: 382.8 kB / 1.039 GB, free: 4.867 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.8876, allocations: 0.5731 MB / 1.039 GB, free: 4.219 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.8877, allocations: 0 / 1.039 GB, free: 4.219 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001782/0.8895, allocations: 0.7407 MB / 1.04 GB, free: 3.461 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.8895, allocations: 8 kB / 1.04 GB, free: 3.453 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.8895, allocations: 4 kB / 1.04 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007353/0.8903, allocations: 154.8 kB / 1.04 GB, free: 3.289 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.8909, allocations: 143.8 kB / 1.04 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.8921, allocations: 1.719 MB / 1.042 GB, free: 1.352 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.8933, allocations: 119.4 kB / 1.042 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/0.8934, allocations: 27.98 kB / 1.042 GB, free: 1.207 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0007539/0.8942, allocations: 254.2 kB / 1.043 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/0.8946, allocations: 114.6 kB / 1.043 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.8969, allocations: 0.7385 MB / 1.043 GB, free: 80 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.897, allocations: 7.938 kB / 1.043 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.897, allocations: 0 / 1.043 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.897, allocations: 3.984 kB / 1.043 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003864/0.9009, allocations: 1.626 MB / 1.045 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.9009, allocations: 4 kB / 1.045 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.9014, allocations: 91.89 kB / 1.045 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006291/0.9021, allocations: 158.7 kB / 1.045 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.9021, allocations: 11.98 kB / 1.045 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.9033, allocations: 1.704 MB / 1.047 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.9033, allocations: 4.031 kB / 1.047 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.9051, allocations: 0.7919 MB / 1.048 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.9056, allocations: 247.6 kB / 1.048 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.9059, allocations: 8 kB / 1.048 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/0.9067, allocations: 75.83 kB / 1.048 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.9068, allocations: 31.89 kB / 1.048 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.9069, allocations: 19.98 kB / 1.048 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001046/0.9079, allocations: 0.6303 MB / 1.049 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9079, allocations: 0 / 1.049 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001285/0.9092, allocations: 359.1 kB / 1.049 GB, free: 10.09 MB / 0.8106 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.001092/0.9103, allocations: 397.2 kB / 1.049 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.912, allocations: 0.5358 MB / 1.05 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.9121, allocations: 4 kB / 1.05 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008488/0.9129, allocations: 296 kB / 1.05 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.9156, allocations: 0.4995 MB / 1.051 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.9196, allocations: 2.264 MB / 1.053 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008544/0.9204, allocations: 1.107 MB / 1.054 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008514/0.9213, allocations: 176 kB / 1.054 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.9215, allocations: 71.42 kB / 1.054 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of SimCode: time 1.994e-06/0.9215, allocations: 3.938 kB / 1.054 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of Templates: time 0.03683/0.9583, allocations: 19.14 MB / 1.073 GB, free: 1.812 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches