Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001135/0.001135, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.09 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.461/2.461, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 68.12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8979/0.8993, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01728/0.9166, allocations: 14.78 MB / 1.182 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005135/0.9218, allocations: 3.735 MB / 1.185 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/0.9226, allocations: 11.94 kB / 1.185 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006986/0.9234, allocations: 162.7 kB / 1.186 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.9247, allocations: 422 kB / 1.186 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.9259, allocations: 331.8 kB / 1.186 GB, free: 364 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.927, allocations: 0.7686 MB / 1.187 GB, free: 15.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005902/0.9277, allocations: 299.9 kB / 1.187 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009491/0.9286, allocations: 382.3 kB / 1.188 GB, free: 14.92 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.9291, allocations: 223 kB / 1.188 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.9292, allocations: 20 kB / 1.188 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006208/0.9298, allocations: 227.5 kB / 1.188 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.9299, allocations: 75.81 kB / 1.188 GB, free: 14.39 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.9301, allocations: 147.2 kB / 1.188 GB, free: 14.24 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008144/0.931, allocations: 428.5 kB / 1.189 GB, free: 13.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.931, allocations: 3.938 kB / 1.189 GB, free: 13.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.236e-06/0.931, allocations: 0 / 1.189 GB, free: 13.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.931, allocations: 7.938 kB / 1.189 GB, free: 13.81 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001125/0.9322, allocations: 0.5922 MB / 1.189 GB, free: 13.17 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.9322, allocations: 16.92 kB / 1.189 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.9323, allocations: 36.56 kB / 1.189 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.933, allocations: 327 kB / 1.19 GB, free: 12.76 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.933, allocations: 24.81 kB / 1.19 GB, free: 12.74 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.9331, allocations: 36.28 kB / 1.19 GB, free: 12.7 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.9337, allocations: 249.5 kB / 1.19 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.9337, allocations: 0 / 1.19 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.9337, allocations: 12 kB / 1.19 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.9337, allocations: 4 kB / 1.19 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.9342, allocations: 184.6 kB / 1.19 GB, free: 12.25 MB / 0.92 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.001412/0.9356, allocations: 0.8273 MB / 1.191 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.936, allocations: 137.1 kB / 1.191 GB, free: 11.2 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.9362, allocations: 93.59 kB / 1.191 GB, free: 11.11 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004172/0.9366, allocations: 0.4908 MB / 1.192 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.9367, allocations: 38.48 kB / 1.192 GB, free: 10.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.9367, allocations: 0 / 1.192 GB, free: 10.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0007768/0.9375, allocations: 265.3 kB / 1.192 GB, free: 10.19 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.9375, allocations: 77.11 kB / 1.192 GB, free: 10.1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.9378, allocations: 267 kB / 1.192 GB, free: 9.832 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.9379, allocations: 29.7 kB / 1.192 GB, free: 9.797 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.938, allocations: 164.3 kB / 1.192 GB, free: 9.633 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.938, allocations: 39.41 kB / 1.193 GB, free: 9.594 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.9381, allocations: 37.7 kB / 1.193 GB, free: 9.551 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9383, allocations: 334.8 kB / 1.193 GB, free: 9.215 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.9385, allocations: 63.94 kB / 1.193 GB, free: 9.152 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.9387, allocations: 123.1 kB / 1.193 GB, free: 9.012 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.9391, allocations: 168.1 kB / 1.193 GB, free: 8.832 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9391, allocations: 0 / 1.193 GB, free: 8.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004848/0.9396, allocations: 221.4 kB / 1.193 GB, free: 8.609 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.9396, allocations: 4 kB / 1.193 GB, free: 8.605 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.9396, allocations: 384 / 1.193 GB, free: 8.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.9397, allocations: 8 kB / 1.193 GB, free: 8.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.9399, allocations: 59.97 kB / 1.193 GB, free: 8.539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.94, allocations: 0 / 1.193 GB, free: 8.539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.9402, allocations: 35.84 kB / 1.194 GB, free: 8.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.9402, allocations: 8 kB / 1.194 GB, free: 8.496 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.9403, allocations: 145.8 kB / 1.194 GB, free: 8.344 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.9404, allocations: 31.64 kB / 1.194 GB, free: 8.312 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.9407, allocations: 187.2 kB / 1.194 GB, free: 8.125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.9408, allocations: 4 kB / 1.194 GB, free: 8.121 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.9408, allocations: 4 kB / 1.194 GB, free: 8.117 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9408, allocations: 0 / 1.194 GB, free: 8.117 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008027/0.9416, allocations: 0.6028 MB / 1.194 GB, free: 7.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.9416, allocations: 0 / 1.194 GB, free: 7.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.9419, allocations: 56.06 kB / 1.195 GB, free: 7.391 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.9419, allocations: 0 / 1.195 GB, free: 7.391 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.9419, allocations: 4 kB / 1.195 GB, free: 7.387 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.9419, allocations: 0 / 1.195 GB, free: 7.387 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.9419, allocations: 7.938 kB / 1.195 GB, free: 7.379 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.9425, allocations: 445.7 kB / 1.195 GB, free: 6.914 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.9427, allocations: 124.6 kB / 1.195 GB, free: 6.773 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.9427, allocations: 0 / 1.195 GB, free: 6.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.9429, allocations: 23.98 kB / 1.195 GB, free: 6.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.943, allocations: 23.84 kB / 1.195 GB, free: 6.727 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.943, allocations: 8 kB / 1.195 GB, free: 6.719 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000196/0.9432, allocations: 194 kB / 1.195 GB, free: 6.527 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9432, allocations: 0 / 1.195 GB, free: 6.527 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000461/0.9437, allocations: 87.83 kB / 1.195 GB, free: 6.441 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005012/0.9442, allocations: 206 kB / 1.196 GB, free: 6.238 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005017/0.9447, allocations: 179.7 kB / 1.196 GB, free: 6.062 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9447, allocations: 0 / 1.196 GB, free: 6.062 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.945, allocations: 104.3 kB / 1.196 GB, free: 5.961 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/0.9458, allocations: 115.5 kB / 1.196 GB, free: 5.852 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.9468, allocations: 0.5534 MB / 1.197 GB, free: 5.25 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.9472, allocations: 0.7714 MB / 1.197 GB, free: 4.453 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.9473, allocations: 23.44 kB / 1.197 GB, free: 4.43 MB / 0.92 GB Notification: Performance of SimCode: time 3.3e-07/0.9473, allocations: 0 / 1.197 GB, free: 4.43 MB / 0.92 GB Notification: Performance of Templates: time 0.008191/0.9555, allocations: 4.579 MB / 1.202 GB, free: 15.89 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches