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.001496/0.001496, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001575/0.001575, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.618/2.618, allocations: 469.4 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001998, allocations: 68.36 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3448, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.5226/0.8675, allocations: 49.76 MB / 1.113 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02025/0.8878, allocations: 12.69 MB / 1.125 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004053/0.8919, allocations: 84.03 kB / 1.125 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003231/0.8952, allocations: 0.754 MB / 1.126 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006555/0.9018, allocations: 1.827 MB / 1.128 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004446/0.9063, allocations: 1.344 MB / 1.129 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005737/0.912, allocations: 3.247 MB / 1.132 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003756/0.9158, allocations: 1.26 MB / 1.134 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00419/0.9201, allocations: 1.295 MB / 1.135 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.9222, allocations: 0.9388 MB / 1.136 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004477/0.9226, allocations: 95.53 kB / 1.136 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.926, allocations: 1.064 MB / 1.137 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000624/0.9266, allocations: 284.3 kB / 1.137 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.9282, allocations: 0.6738 MB / 1.138 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004272/0.9325, allocations: 1.922 MB / 1.14 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9326, allocations: 1.094 kB / 1.14 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9326, allocations: 0 / 1.14 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.61e-05/0.9326, allocations: 0 / 1.14 GB, free: 8.777 MB / 0.8731 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.003926/0.9366, allocations: 1.706 MB / 1.141 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.9366, allocations: 9.125 kB / 1.141 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008745/0.9375, allocations: 209.4 kB / 1.142 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.94, allocations: 1.016 MB / 1.143 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/0.9404, allocations: 127.9 kB / 1.143 GB, free: 6.887 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.9406, allocations: 87.66 kB / 1.143 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.9428, allocations: 1.004 MB / 1.144 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.9429, allocations: 5.438 kB / 1.144 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.943e-05/0.943, allocations: 37.5 kB / 1.144 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.943, allocations: 22.75 kB / 1.144 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.9448, allocations: 0.6587 MB / 1.144 GB, free: 6.086 MB / 0.8731 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.006947/0.9518, allocations: 4.762 MB / 1.149 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.9532, allocations: 412.2 kB / 1.149 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.9538, allocations: 225.4 kB / 1.15 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.9548, allocations: 1.147 MB / 1.151 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.9549, allocations: 42.5 kB / 1.151 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=29): time 2.043e-06/0.9549, allocations: 0 / 1.151 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.003244/0.9582, allocations: 1.089 MB / 1.152 GB, free: 244 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.9582, allocations: 67.48 kB / 1.152 GB, free: 168 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.9599, allocations: 0.9741 MB / 1.153 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.696e-05/0.96, allocations: 32.42 kB / 1.153 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004956/0.9605, allocations: 0.5859 MB / 1.154 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.9607, allocations: 105.2 kB / 1.154 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.9609, allocations: 114.2 kB / 1.154 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.961, allocations: 326 kB / 1.154 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/0.9615, allocations: 203 kB / 1.154 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007329/0.9623, allocations: 419.4 kB / 1.155 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.9636, allocations: 0.6007 MB / 1.155 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.9637, allocations: 2.844 kB / 1.155 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00199/0.9656, allocations: 0.7678 MB / 1.156 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.9657, allocations: 8.188 kB / 1.156 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.9657, allocations: 10.84 kB / 1.156 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007162/0.9664, allocations: 155.7 kB / 1.156 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/0.9671, allocations: 156.8 kB / 1.156 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.9682, allocations: 1.711 MB / 1.158 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009008/0.9691, allocations: 95.2 kB / 1.158 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/0.9692, allocations: 33.5 kB / 1.158 GB, free: 12 MB / 0.8887 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.0004716/0.9697, allocations: 263 kB / 1.158 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.97, allocations: 107.5 kB / 1.158 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.9719, allocations: 0.739 MB / 1.159 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.972, allocations: 5.703 kB / 1.159 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.972, allocations: 5.25 kB / 1.159 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.972, allocations: 2.953 kB / 1.159 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.9755, allocations: 1.656 MB / 1.161 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.9756, allocations: 2.719 kB / 1.161 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.9761, allocations: 86.78 kB / 1.161 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006055/0.9767, allocations: 154.7 kB / 1.161 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.9767, allocations: 13.06 kB / 1.161 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.9778, allocations: 1.713 MB / 1.163 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9779, allocations: 1.344 kB / 1.163 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.9798, allocations: 0.7877 MB / 1.163 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005801/0.9804, allocations: 245.8 kB / 1.164 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.9807, allocations: 7.094 kB / 1.164 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007701/0.9814, allocations: 51.72 kB / 1.164 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.9815, allocations: 27.69 kB / 1.164 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/0.9816, allocations: 25.38 kB / 1.164 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001237/0.9829, allocations: 0.6555 MB / 1.164 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9829, allocations: 1.344 kB / 1.164 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001495/0.9844, allocations: 377.7 kB / 1.165 GB, free: 7.34 MB / 0.8887 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.001116/0.9855, allocations: 436.8 kB / 1.165 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002015/0.9875, allocations: 0.5789 MB / 1.166 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.9876, allocations: 1.281 kB / 1.166 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009712/0.9885, allocations: 293.1 kB / 1.166 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.9916, allocations: 0.5198 MB / 1.167 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.9954, allocations: 1.878 MB / 1.168 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/0.9962, allocations: 1.096 MB / 1.169 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.9964, allocations: 73.8 kB / 1.17 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of SimCode: time 7.41e-07/0.9964, allocations: 1.062 kB / 1.17 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of Templates: time 0.0433/1.04, allocations: 32.13 MB / 1.201 GB, free: 12.22 MB / 0.92 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