Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 170.4 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.866/2.866, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.998e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.0196/0.01963, allocations: 13.75 MB / 0.9948 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005686/0.02532, allocations: 3.5 MB / 0.9982 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.02575, allocations: 23.81 kB / 0.9983 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006627/0.02641, allocations: 174.6 kB / 0.9984 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.02766, allocations: 429.5 kB / 0.9988 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.02872, allocations: 358.6 kB / 0.9992 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.02974, allocations: 0.7762 MB / 0.9999 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004415/0.03018, allocations: 232.6 kB / 1 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.03142, allocations: 0.5682 MB / 1.001 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.03175, allocations: 187.4 kB / 1.001 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.0318, allocations: 20 kB / 1.001 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005553/0.03236, allocations: 195.5 kB / 1.001 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.03248, allocations: 79.67 kB / 1.001 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.03262, allocations: 91.77 kB / 1.001 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007706/0.03339, allocations: 434.7 kB / 1.002 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.03339, allocations: 3.938 kB / 1.002 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.0334, allocations: 0 / 1.002 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.0334, allocations: 0 / 1.002 GB, free: 7.121 MB / 0.9512 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.00103/0.03443, allocations: 0.5323 MB / 1.002 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.03448, allocations: 16.03 kB / 1.002 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.231e-05/0.03457, allocations: 32.75 kB / 1.002 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.03521, allocations: 265.1 kB / 1.003 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.03523, allocations: 16.88 kB / 1.003 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.03527, allocations: 24.38 kB / 1.003 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/0.03593, allocations: 306.1 kB / 1.003 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.03594, allocations: 192 / 1.003 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.03597, allocations: 16.12 kB / 1.003 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.03598, allocations: 4 kB / 1.003 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.03652, allocations: 184.6 kB / 1.003 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.03778, allocations: 0.657 MB / 1.004 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.03814, allocations: 137.1 kB / 1.004 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.03839, allocations: 89.66 kB / 1.004 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.0386, allocations: 39.97 kB / 1.004 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.03864, allocations: 38.56 kB / 1.004 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.03864, allocations: 0 / 1.004 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0008529/0.03949, allocations: 261.2 kB / 1.004 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.03957, allocations: 81.11 kB / 1.004 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.03982, allocations: 213.9 kB / 1.004 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.03986, allocations: 33.7 kB / 1.005 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.04, allocations: 172.3 kB / 1.005 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.04005, allocations: 43.64 kB / 1.005 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.04012, allocations: 37.66 kB / 1.005 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.04031, allocations: 330.8 kB / 1.005 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.04053, allocations: 63.94 kB / 1.005 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.04092, allocations: 279.7 kB / 1.005 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.04136, allocations: 172.4 kB / 1.006 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.04137, allocations: 4 kB / 1.006 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005411/0.04191, allocations: 205.3 kB / 1.006 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.04193, allocations: 8 kB / 1.006 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.04193, allocations: 0 / 1.006 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.04196, allocations: 7.938 kB / 1.006 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.04226, allocations: 55.98 kB / 1.006 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.04227, allocations: 8.297 kB / 1.006 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.04244, allocations: 15.98 kB / 1.006 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.04247, allocations: 8 kB / 1.006 GB, free: 2.547 MB / 0.9512 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.0001805/0.04265, allocations: 141.8 kB / 1.006 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.04272, allocations: 27.8 kB / 1.006 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.04308, allocations: 187.3 kB / 1.006 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.04309, allocations: 7.938 kB / 1.006 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.0431, allocations: 0 / 1.006 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.0431, allocations: 3.984 kB / 1.006 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.04392, allocations: 0.5208 MB / 1.007 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.04392, allocations: 0 / 1.007 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.04417, allocations: 56.06 kB / 1.007 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.04417, allocations: 4 kB / 1.007 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.04419, allocations: 4 kB / 1.007 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.04419, allocations: 4 kB / 1.007 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.0442, allocations: 3.984 kB / 1.007 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/0.0449, allocations: 436.2 kB / 1.007 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.045, allocations: 47.8 kB / 1.007 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.04503, allocations: 8 kB / 1.007 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.04524, allocations: 19.97 kB / 1.007 GB, free: 1 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.04531, allocations: 15.92 kB / 1.007 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.04533, allocations: 11.98 kB / 1.007 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001598/0.04549, allocations: 161.2 kB / 1.007 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.04549, allocations: 0 / 1.007 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004894/0.04598, allocations: 95.7 kB / 1.008 GB, free: 0.7188 MB / 0.9512 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.0004088/0.04639, allocations: 201.9 kB / 1.008 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.04694, allocations: 175.8 kB / 1.008 GB, free: 352 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.04694, allocations: 192 / 1.008 GB, free: 352 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.04723, allocations: 111.9 kB / 1.008 GB, free: 240 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/0.04796, allocations: 87.08 kB / 1.008 GB, free: 156 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.04893, allocations: 0.493 MB / 1.009 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.04915, allocations: 170.8 kB / 1.009 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001358/0.04928, allocations: 45.69 kB / 1.009 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.04934, allocations: 24.48 kB / 1.009 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.04934, allocations: 0 / 1.009 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of Templates: time 0.01088/0.06022, allocations: 4.566 MB / 1.013 GB, free: 10.91 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.393603906035423]