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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00102/0.00102, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 179.4 kB / 16.92 MB, free: 6.652 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 8.281 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6111/0.6115, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01568/0.6272, allocations: 14.23 MB / 1.038 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004768/0.632, allocations: 3.681 MB / 1.041 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005227/0.6326, allocations: 15.94 kB / 1.041 GB, free: 13.88 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.6332, allocations: 135.1 kB / 1.041 GB, free: 13.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.6343, allocations: 378.2 kB / 1.042 GB, free: 13.38 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008983/0.6352, allocations: 286.7 kB / 1.042 GB, free: 13.1 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.6364, allocations: 1.088 MB / 1.043 GB, free: 12 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005106/0.6369, allocations: 253.2 kB / 1.043 GB, free: 11.76 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007909/0.6377, allocations: 334.4 kB / 1.044 GB, free: 11.43 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.6381, allocations: 222.9 kB / 1.044 GB, free: 11.21 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.6382, allocations: 8 kB / 1.044 GB, free: 11.2 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.6387, allocations: 211.5 kB / 1.044 GB, free: 11 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.6388, allocations: 59.75 kB / 1.044 GB, free: 10.94 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.639, allocations: 153 kB / 1.044 GB, free: 10.78 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.6394, allocations: 291.4 kB / 1.044 GB, free: 10.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6394, allocations: 0 / 1.044 GB, free: 10.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6395, allocations: 0 / 1.044 GB, free: 10.5 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.6395, allocations: 4 kB / 1.044 GB, free: 10.49 MB / 0.795 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.0009228/0.6404, allocations: 0.5651 MB / 1.045 GB, free: 9.879 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.6404, allocations: 8.031 kB / 1.045 GB, free: 9.871 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.12e-05/0.6405, allocations: 36.56 kB / 1.045 GB, free: 9.836 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.641, allocations: 311 kB / 1.045 GB, free: 9.496 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.641, allocations: 12.81 kB / 1.045 GB, free: 9.48 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.641, allocations: 24.38 kB / 1.045 GB, free: 9.457 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.6416, allocations: 269.5 kB / 1.046 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.6416, allocations: 3.938 kB / 1.046 GB, free: 9.184 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.6417, allocations: 4 kB / 1.046 GB, free: 9.18 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.6417, allocations: 8 kB / 1.046 GB, free: 9.172 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.6422, allocations: 200.6 kB / 1.046 GB, free: 8.977 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.001264/0.6435, allocations: 0.8393 MB / 1.047 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.6438, allocations: 157.2 kB / 1.047 GB, free: 7.898 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.6441, allocations: 101.6 kB / 1.047 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003622/0.6444, allocations: 498.6 kB / 1.047 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.6445, allocations: 42.5 kB / 1.047 GB, free: 7.145 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.6445, allocations: 0 / 1.047 GB, free: 7.145 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0008283/0.6453, allocations: 293.2 kB / 1.048 GB, free: 6.852 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.6454, allocations: 77.11 kB / 1.048 GB, free: 6.758 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.6456, allocations: 275 kB / 1.048 GB, free: 6.484 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.6457, allocations: 25.7 kB / 1.048 GB, free: 6.453 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.6458, allocations: 168.3 kB / 1.048 GB, free: 6.285 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.6458, allocations: 39.47 kB / 1.048 GB, free: 6.246 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.6459, allocations: 21.7 kB / 1.048 GB, free: 6.219 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.646, allocations: 338.8 kB / 1.049 GB, free: 5.879 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.6462, allocations: 71.95 kB / 1.049 GB, free: 5.809 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.6465, allocations: 129.9 kB / 1.049 GB, free: 5.66 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.6469, allocations: 192.4 kB / 1.049 GB, free: 5.457 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.6469, allocations: 4 kB / 1.049 GB, free: 5.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005462/0.6475, allocations: 241.1 kB / 1.049 GB, free: 5.211 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6475, allocations: 4 kB / 1.049 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6475, allocations: 4 kB / 1.049 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.6476, allocations: 3.938 kB / 1.049 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.6479, allocations: 75.97 kB / 1.049 GB, free: 5.125 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6479, allocations: 0 / 1.049 GB, free: 5.125 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.6481, allocations: 35.81 kB / 1.049 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.6481, allocations: 8 kB / 1.049 GB, free: 5.082 MB / 0.795 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.000144/0.6483, allocations: 145.8 kB / 1.05 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.6484, allocations: 27.66 kB / 1.05 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.6487, allocations: 187.2 kB / 1.05 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.6487, allocations: 0 / 1.05 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6487, allocations: 4 kB / 1.05 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.6487, allocations: 3.984 kB / 1.05 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007554/0.6495, allocations: 0.5952 MB / 1.05 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6495, allocations: 0 / 1.05 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.6498, allocations: 68.02 kB / 1.05 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.6498, allocations: 0 / 1.05 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.6498, allocations: 11.98 kB / 1.05 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6498, allocations: 0 / 1.05 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.6498, allocations: 4.312 kB / 1.05 GB, free: 3.957 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.6505, allocations: 461.6 kB / 1.051 GB, free: 3.477 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.6506, allocations: 124.7 kB / 1.051 GB, free: 3.336 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.6506, allocations: 7.938 kB / 1.051 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.6509, allocations: 27.97 kB / 1.051 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.651, allocations: 19.92 kB / 1.051 GB, free: 3.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.651, allocations: 11.98 kB / 1.051 GB, free: 3.27 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001818/0.6512, allocations: 190 kB / 1.051 GB, free: 3.082 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6512, allocations: 0 / 1.051 GB, free: 3.082 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004518/0.6516, allocations: 91.84 kB / 1.051 GB, free: 2.992 MB / 0.795 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.0004469/0.6521, allocations: 216.5 kB / 1.051 GB, free: 2.781 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005453/0.6526, allocations: 195.9 kB / 1.052 GB, free: 2.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6527, allocations: 0 / 1.052 GB, free: 2.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.6529, allocations: 120.2 kB / 1.052 GB, free: 2.473 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009013/0.6539, allocations: 109.9 kB / 1.052 GB, free: 2.363 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009032/0.6548, allocations: 0.6587 MB / 1.053 GB, free: 1.656 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.6551, allocations: 0.7716 MB / 1.053 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.6552, allocations: 23.44 kB / 1.053 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.6552, allocations: 0 / 1.053 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of Templates: time 0.007492/0.6627, allocations: 4.51 MB / 1.058 GB, free: 12.36 MB / 0.8106 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