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.001359/0.001359, allocations: 108 kB / 15.61 MB, free: 152 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.001377/0.001378, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.791/2.791, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 63.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6105, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01639/0.6269, allocations: 14.78 MB / 1.032 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004805/0.6318, allocations: 3.723 MB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.6321, allocations: 11.94 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.6326, allocations: 178.6 kB / 1.036 GB, free: 15.7 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0009025/0.6335, allocations: 398 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008266/0.6343, allocations: 333.1 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008264/0.6352, allocations: 0.7687 MB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/0.6356, allocations: 290 kB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005954/0.6362, allocations: 386.4 kB / 1.038 GB, free: 13.55 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.6365, allocations: 219 kB / 1.038 GB, free: 13.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.6365, allocations: 24 kB / 1.038 GB, free: 13.31 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.637, allocations: 223.6 kB / 1.038 GB, free: 13.09 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-05/0.6371, allocations: 71.73 kB / 1.038 GB, free: 13.02 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.6372, allocations: 139.3 kB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.6377, allocations: 422.7 kB / 1.039 GB, free: 12.47 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6378, allocations: 4 kB / 1.039 GB, free: 12.47 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.71e-07/0.6378, allocations: 0 / 1.039 GB, free: 12.47 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.6378, allocations: 0 / 1.039 GB, free: 12.47 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.000877/0.6387, allocations: 0.6055 MB / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.6387, allocations: 8.031 kB / 1.039 GB, free: 11.81 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/0.6388, allocations: 40.5 kB / 1.039 GB, free: 11.77 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.6392, allocations: 311 kB / 1.04 GB, free: 11.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.6392, allocations: 16.81 kB / 1.04 GB, free: 11.41 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.6392, allocations: 24.38 kB / 1.04 GB, free: 11.39 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.6398, allocations: 257.5 kB / 1.04 GB, free: 11.13 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6398, allocations: 3.984 kB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.6398, allocations: 8 kB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.6398, allocations: 7.938 kB / 1.04 GB, free: 11.11 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.6403, allocations: 185.7 kB / 1.04 GB, free: 10.93 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.001246/0.6416, allocations: 0.8315 MB / 1.041 GB, free: 10.03 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.6419, allocations: 145.1 kB / 1.041 GB, free: 9.871 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.6421, allocations: 93.59 kB / 1.041 GB, free: 9.773 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004805/0.6426, allocations: 498.6 kB / 1.042 GB, free: 9.176 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.389e-05/0.6427, allocations: 42.5 kB / 1.042 GB, free: 9.125 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.6427, allocations: 0 / 1.042 GB, free: 9.125 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0008856/0.6436, allocations: 257.2 kB / 1.042 GB, free: 8.867 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.6437, allocations: 81.05 kB / 1.042 GB, free: 8.77 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.644, allocations: 275 kB / 1.042 GB, free: 8.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.6441, allocations: 25.7 kB / 1.042 GB, free: 8.469 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.6442, allocations: 168.2 kB / 1.042 GB, free: 8.301 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.6443, allocations: 43.53 kB / 1.042 GB, free: 8.258 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.6444, allocations: 37.7 kB / 1.043 GB, free: 8.215 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.6446, allocations: 334.8 kB / 1.043 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.6448, allocations: 67.94 kB / 1.043 GB, free: 7.812 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.6451, allocations: 113.9 kB / 1.043 GB, free: 7.68 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.6455, allocations: 172.1 kB / 1.043 GB, free: 7.496 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6455, allocations: 0 / 1.043 GB, free: 7.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005323/0.6461, allocations: 221 kB / 1.043 GB, free: 7.273 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.6461, allocations: 7.984 kB / 1.043 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6461, allocations: 0 / 1.043 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.6462, allocations: 4 kB / 1.043 GB, free: 7.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.6464, allocations: 51.95 kB / 1.043 GB, free: 7.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6465, allocations: 3.938 kB / 1.043 GB, free: 7.207 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.6467, allocations: 31.91 kB / 1.043 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.6467, allocations: 15.94 kB / 1.043 GB, free: 7.16 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.0001522/0.6469, allocations: 137.8 kB / 1.044 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.6469, allocations: 27.66 kB / 1.044 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.6473, allocations: 183.2 kB / 1.044 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.6473, allocations: 7.984 kB / 1.044 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.6473, allocations: 4 kB / 1.044 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6473, allocations: 4 kB / 1.044 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008505/0.6482, allocations: 0.5916 MB / 1.044 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6482, allocations: 0 / 1.044 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.6485, allocations: 64.06 kB / 1.044 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.6485, allocations: 4 kB / 1.044 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.6485, allocations: 4 kB / 1.044 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6485, allocations: 0 / 1.044 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6485, allocations: 4 kB / 1.044 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.6492, allocations: 443.2 kB / 1.045 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.6493, allocations: 120.7 kB / 1.045 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.6493, allocations: 4 kB / 1.045 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.6496, allocations: 19.98 kB / 1.045 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.6496, allocations: 15.92 kB / 1.045 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.6496, allocations: 15.98 kB / 1.045 GB, free: 5.398 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001829/0.6498, allocations: 190 kB / 1.045 GB, free: 5.211 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/0.6498, allocations: 0 / 1.045 GB, free: 5.211 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004407/0.6503, allocations: 87.84 kB / 1.045 GB, free: 5.125 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.0005763/0.6509, allocations: 211.2 kB / 1.046 GB, free: 4.918 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005418/0.6514, allocations: 187.9 kB / 1.046 GB, free: 4.734 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6514, allocations: 0 / 1.046 GB, free: 4.734 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.6517, allocations: 103.9 kB / 1.046 GB, free: 4.633 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008626/0.6526, allocations: 119.8 kB / 1.046 GB, free: 4.523 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.6537, allocations: 0.5247 MB / 1.046 GB, free: 3.957 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.6541, allocations: 0.779 MB / 1.047 GB, free: 3.152 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.6543, allocations: 54.33 kB / 1.047 GB, free: 3.102 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.6543, allocations: 19.44 kB / 1.047 GB, free: 3.082 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.6543, allocations: 4 kB / 1.047 GB, free: 3.078 MB / 0.795 GB Notification: Performance of Templates: time 0.01265/0.667, allocations: 5.213 MB / 1.052 GB, free: 13.94 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches