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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 111.1 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 190.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 489.3 MB / 0.7687 GB, free: 3.816 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.88 kB / 1.103 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9747/0.9766, allocations: 163.8 MB / 1.263 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01414/0.9907, allocations: 14.8 MB / 1.277 GB, free: 13.44 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005178/0.996, allocations: 3.733 MB / 1.281 GB, free: 10.78 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003826/0.9964, allocations: 15.88 kB / 1.281 GB, free: 10.77 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.9969, allocations: 173.8 kB / 1.281 GB, free: 10.65 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008897/0.9978, allocations: 387.9 kB / 1.281 GB, free: 10.44 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008904/0.9987, allocations: 335.7 kB / 1.282 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009181/0.9996, allocations: 0.7628 MB / 1.282 GB, free: 9.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004618/1, allocations: 287.6 kB / 1.283 GB, free: 9.809 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000978/1.001, allocations: 467.9 kB / 1.283 GB, free: 9.586 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/1.001, allocations: 217.5 kB / 1.283 GB, free: 9.484 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/1.001, allocations: 20.59 kB / 1.283 GB, free: 9.484 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/1.002, allocations: 229.5 kB / 1.283 GB, free: 9.402 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/1.002, allocations: 76.42 kB / 1.284 GB, free: 9.359 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/1.002, allocations: 144.4 kB / 1.284 GB, free: 9.273 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006388/1.003, allocations: 430 kB / 1.284 GB, free: 9.113 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.003, allocations: 0.7031 kB / 1.284 GB, free: 9.113 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.112e-06/1.003, allocations: 0 / 1.284 GB, free: 9.113 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.981e-06/1.003, allocations: 0 / 1.284 GB, free: 9.113 MB / 1.014 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.0008881/1.004, allocations: 0.6207 MB / 1.285 GB, free: 8.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/1.004, allocations: 10.94 kB / 1.285 GB, free: 8.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.362e-05/1.004, allocations: 35.81 kB / 1.285 GB, free: 8.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/1.004, allocations: 332.1 kB / 1.285 GB, free: 8.305 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/1.004, allocations: 19.7 kB / 1.285 GB, free: 8.297 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/1.005, allocations: 24.19 kB / 1.285 GB, free: 8.289 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/1.005, allocations: 256.2 kB / 1.285 GB, free: 8.172 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.005, allocations: 0 / 1.285 GB, free: 8.172 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/1.005, allocations: 12 kB / 1.285 GB, free: 8.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/1.005, allocations: 8.094 kB / 1.285 GB, free: 8.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/1.006, allocations: 179.8 kB / 1.285 GB, free: 8.113 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/1.007, allocations: 0.8298 MB / 1.286 GB, free: 7.512 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/1.007, allocations: 137.6 kB / 1.286 GB, free: 7.438 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/1.007, allocations: 96.55 kB / 1.287 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004303/1.008, allocations: 0.4886 MB / 1.287 GB, free: 6.828 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.008, allocations: 32.45 kB / 1.287 GB, free: 6.789 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/1.008, allocations: 0 / 1.287 GB, free: 6.789 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0007909/1.009, allocations: 262.6 kB / 1.287 GB, free: 6.695 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/1.009, allocations: 82.73 kB / 1.287 GB, free: 6.598 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/1.009, allocations: 264 kB / 1.288 GB, free: 6.445 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/1.009, allocations: 31.17 kB / 1.288 GB, free: 6.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/1.009, allocations: 171.5 kB / 1.288 GB, free: 6.266 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/1.009, allocations: 52.47 kB / 1.288 GB, free: 6.223 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/1.009, allocations: 33.94 kB / 1.288 GB, free: 6.199 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.009, allocations: 337.2 kB / 1.288 GB, free: 5.875 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/1.01, allocations: 60.53 kB / 1.288 GB, free: 5.863 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/1.01, allocations: 127.6 kB / 1.288 GB, free: 5.781 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/1.01, allocations: 174.1 kB / 1.289 GB, free: 5.699 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.01, allocations: 0.5156 kB / 1.289 GB, free: 5.699 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004992/1.011, allocations: 216.2 kB / 1.289 GB, free: 5.609 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.011, allocations: 5.062 kB / 1.289 GB, free: 5.609 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.011, allocations: 2.922 kB / 1.289 GB, free: 5.609 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/1.011, allocations: 5.188 kB / 1.289 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/1.011, allocations: 54.83 kB / 1.289 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.011, allocations: 2.094 kB / 1.289 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/1.011, allocations: 35.42 kB / 1.289 GB, free: 5.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/1.011, allocations: 7.172 kB / 1.289 GB, free: 5.586 MB / 1.014 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.0001401/1.012, allocations: 143.9 kB / 1.289 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/1.012, allocations: 33.03 kB / 1.289 GB, free: 5.438 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/1.012, allocations: 183.3 kB / 1.289 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.012, allocations: 2.938 kB / 1.289 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.012, allocations: 0 / 1.289 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.012, allocations: 3 kB / 1.289 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008016/1.013, allocations: 0.6047 MB / 1.29 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/1.013, allocations: 0.5156 kB / 1.29 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/1.013, allocations: 54.3 kB / 1.29 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.013, allocations: 0.6562 kB / 1.29 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/1.013, allocations: 6.609 kB / 1.29 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.013, allocations: 3.062 kB / 1.29 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.013, allocations: 1.828 kB / 1.29 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/1.014, allocations: 448.2 kB / 1.29 GB, free: 4.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/1.014, allocations: 124.8 kB / 1.29 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/1.014, allocations: 3.938 kB / 1.29 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/1.014, allocations: 18 kB / 1.29 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/1.014, allocations: 20.64 kB / 1.29 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/1.014, allocations: 6.844 kB / 1.29 GB, free: 4.438 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001882/1.014, allocations: 193 kB / 1.291 GB, free: 4.328 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.854e-06/1.014, allocations: 5.344 kB / 1.291 GB, free: 4.324 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004585/1.015, allocations: 94.59 kB / 1.291 GB, free: 4.297 MB / 1.014 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.0004557/1.015, allocations: 212.7 kB / 1.291 GB, free: 4.168 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005294/1.016, allocations: 165.9 kB / 1.291 GB, free: 4.133 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.016, allocations: 4.844 kB / 1.291 GB, free: 4.129 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/1.016, allocations: 106.2 kB / 1.291 GB, free: 4.102 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/1.017, allocations: 124.1 kB / 1.291 GB, free: 4.055 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/1.018, allocations: 0.5419 MB / 1.292 GB, free: 3.684 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/1.018, allocations: 0.7712 MB / 1.293 GB, free: 2.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/1.018, allocations: 23.94 kB / 1.293 GB, free: 2.973 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/1.018, allocations: 0 / 1.293 GB, free: 2.973 MB / 1.014 GB Notification: Performance of Templates: time 0.01003/1.028, allocations: 4.574 MB / 1.297 GB, free: 2.414 MB / 1.014 GB " [Timeout remaining time 299] 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_2/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: 11.440329489996657]