Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001448/0.001448, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.0017/0.0017, allocations: 215.8 kB / 23.01 MB, free: 4.609 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.899/2.899, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 64.17 kB / 1.178 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2822, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01633/0.2985, allocations: 15.16 MB / 1.369 GB, free: 8.789 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004614/0.3031, allocations: 3.792 MB / 1.373 GB, free: 4.984 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.3033, allocations: 19.81 kB / 1.373 GB, free: 4.965 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.3038, allocations: 174.7 kB / 1.373 GB, free: 4.793 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008005/0.3046, allocations: 426 kB / 1.373 GB, free: 4.375 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007914/0.3054, allocations: 356.5 kB / 1.374 GB, free: 4.031 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008353/0.3062, allocations: 0.7803 MB / 1.374 GB, free: 3.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003641/0.3066, allocations: 232.6 kB / 1.374 GB, free: 3.023 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008092/0.3074, allocations: 478 kB / 1.375 GB, free: 2.555 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.3077, allocations: 227 kB / 1.375 GB, free: 2.332 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.3077, allocations: 20 kB / 1.375 GB, free: 2.312 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.3081, allocations: 247.5 kB / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.919e-05/0.3082, allocations: 79.67 kB / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.3084, allocations: 139.3 kB / 1.376 GB, free: 1.855 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.3089, allocations: 438.3 kB / 1.376 GB, free: 1.426 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3089, allocations: 0 / 1.376 GB, free: 1.426 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3089, allocations: 0 / 1.376 GB, free: 1.426 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3089, allocations: 0 / 1.376 GB, free: 1.426 MB / 1.061 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.0008204/0.3098, allocations: 0.54 MB / 1.377 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.3098, allocations: 12.03 kB / 1.377 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.3099, allocations: 32.75 kB / 1.377 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.3103, allocations: 261.4 kB / 1.377 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3104, allocations: 16.81 kB / 1.377 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.3104, allocations: 24.38 kB / 1.377 GB, free: 500 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.3109, allocations: 261.5 kB / 1.377 GB, free: 228 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3109, allocations: 0 / 1.377 GB, free: 228 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.3109, allocations: 8 kB / 1.377 GB, free: 220 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3109, allocations: 12 kB / 1.377 GB, free: 208 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.3114, allocations: 188.4 kB / 1.377 GB, free: 20 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.3126, allocations: 0.7968 MB / 1.378 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.3129, allocations: 133.1 kB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.3131, allocations: 93.59 kB / 1.378 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.3133, allocations: 43.95 kB / 1.378 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.3133, allocations: 34.5 kB / 1.378 GB, free: 14.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.3133, allocations: 0 / 1.378 GB, free: 14.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.000716/0.314, allocations: 261.3 kB / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.3141, allocations: 81.05 kB / 1.379 GB, free: 14.47 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.3143, allocations: 268.2 kB / 1.379 GB, free: 14.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3144, allocations: 29.7 kB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3145, allocations: 172.3 kB / 1.379 GB, free: 13.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.3145, allocations: 51.72 kB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.3146, allocations: 33.72 kB / 1.379 GB, free: 13.9 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3147, allocations: 334.8 kB / 1.38 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.3149, allocations: 59.94 kB / 1.38 GB, free: 13.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.3152, allocations: 121.9 kB / 1.38 GB, free: 13.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.3155, allocations: 164.1 kB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3155, allocations: 8 kB / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004626/0.316, allocations: 213.2 kB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.316, allocations: 4 kB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.316, allocations: 4 kB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.316, allocations: 0 / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.3163, allocations: 56.03 kB / 1.38 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3163, allocations: 3.938 kB / 1.38 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.3165, allocations: 35.83 kB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3165, allocations: 7.984 kB / 1.38 GB, free: 12.86 MB / 1.076 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.0001402/0.3166, allocations: 149.7 kB / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.3167, allocations: 27.8 kB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.317, allocations: 191.2 kB / 1.381 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.317, allocations: 4 kB / 1.381 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.317, allocations: 4.312 kB / 1.381 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.317, allocations: 0 / 1.381 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007695/0.3178, allocations: 0.5826 MB / 1.381 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.3178, allocations: 8.172 kB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.318, allocations: 59.86 kB / 1.381 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.318, allocations: 96 / 1.381 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.318, allocations: 11.94 kB / 1.381 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.318, allocations: 4 kB / 1.381 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.318, allocations: 0 / 1.381 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.3186, allocations: 448.3 kB / 1.382 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.3187, allocations: 39.78 kB / 1.382 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.3187, allocations: 15.98 kB / 1.382 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3189, allocations: 11.98 kB / 1.382 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.319, allocations: 23.91 kB / 1.382 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.319, allocations: 4 kB / 1.382 GB, free: 11.19 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001832/0.3192, allocations: 195.1 kB / 1.382 GB, free: 11 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3192, allocations: 0 / 1.382 GB, free: 11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003903/0.3196, allocations: 91.75 kB / 1.382 GB, free: 10.91 MB / 1.076 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.0002855/0.3199, allocations: 183 kB / 1.382 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004819/0.3203, allocations: 171.9 kB / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3203, allocations: 0 / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.3206, allocations: 111.8 kB / 1.382 GB, free: 10.44 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.3213, allocations: 118.4 kB / 1.383 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008116/0.3221, allocations: 0.5576 MB / 1.383 GB, free: 9.719 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3225, allocations: 0.7753 MB / 1.384 GB, free: 8.918 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.3226, allocations: 27.36 kB / 1.384 GB, free: 8.891 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.3226, allocations: 0 / 1.384 GB, free: 8.891 MB / 1.076 GB Notification: Performance of Templates: time 0.006759/0.3293, allocations: 4.577 MB / 1.388 GB, free: 4.344 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.561664888984524]