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.001306/0.001306, allocations: 110 kB / 18.93 MB, free: 2.945 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.001427/0.001427, allocations: 191.9 kB / 22.23 MB, free: 5.152 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.328/1.328, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.896/2.896, allocations: 495.7 MB / 0.7831 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001822/0.001822, allocations: 69.11 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.306, allocations: 173.6 MB / 1.307 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01818/0.3241, allocations: 15.05 MB / 1.322 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004945/0.3291, allocations: 3.775 MB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.3296, allocations: 27.81 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.3301, allocations: 174.6 kB / 1.326 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.3313, allocations: 414 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009699/0.3322, allocations: 360.5 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.3332, allocations: 0.7803 MB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.3337, allocations: 224.7 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009464/0.3346, allocations: 478 kB / 1.328 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.335, allocations: 234.9 kB / 1.328 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.335, allocations: 20 kB / 1.328 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.3355, allocations: 247.5 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3356, allocations: 71.75 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.3358, allocations: 147.2 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006351/0.3364, allocations: 430.4 kB / 1.329 GB, free: 11.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3364, allocations: 0 / 1.329 GB, free: 11.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3364, allocations: 0 / 1.329 GB, free: 11.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.3364, allocations: 0 / 1.329 GB, free: 11.45 MB / 1.029 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.0009496/0.3374, allocations: 0.5438 MB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3374, allocations: 12.03 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.3375, allocations: 32.75 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.338, allocations: 265.4 kB / 1.33 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.338, allocations: 16.81 kB / 1.33 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.3381, allocations: 28.38 kB / 1.33 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.3386, allocations: 253.5 kB / 1.33 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3386, allocations: 7.922 kB / 1.33 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.3386, allocations: 8 kB / 1.33 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.3387, allocations: 4 kB / 1.33 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.3391, allocations: 188.5 kB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.3403, allocations: 0.7968 MB / 1.331 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.3406, allocations: 129.2 kB / 1.331 GB, free: 9.043 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.3409, allocations: 85.59 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.341, allocations: 47.97 kB / 1.331 GB, free: 8.906 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3411, allocations: 34.5 kB / 1.331 GB, free: 8.863 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.3411, allocations: 0 / 1.331 GB, free: 8.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0007684/0.3418, allocations: 269.5 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.3419, allocations: 84.98 kB / 1.332 GB, free: 8.492 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.3421, allocations: 268.2 kB / 1.332 GB, free: 8.219 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3422, allocations: 29.7 kB / 1.332 GB, free: 8.184 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3423, allocations: 164.3 kB / 1.332 GB, free: 8.016 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.3423, allocations: 43.64 kB / 1.332 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/0.3424, allocations: 37.7 kB / 1.332 GB, free: 7.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3425, allocations: 330.8 kB / 1.332 GB, free: 7.598 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.3427, allocations: 67.94 kB / 1.332 GB, free: 7.531 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.343, allocations: 117.9 kB / 1.333 GB, free: 7.395 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.3434, allocations: 168.1 kB / 1.333 GB, free: 7.215 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3434, allocations: 0 / 1.333 GB, free: 7.215 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005039/0.3439, allocations: 221.6 kB / 1.333 GB, free: 6.992 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3439, allocations: 7.984 kB / 1.333 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3439, allocations: 0 / 1.333 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3439, allocations: 4 kB / 1.333 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.3442, allocations: 51.95 kB / 1.333 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3442, allocations: 8.344 kB / 1.333 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.3444, allocations: 35.8 kB / 1.333 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.3444, allocations: 11.98 kB / 1.333 GB, free: 6.875 MB / 1.029 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.0001337/0.3446, allocations: 145.8 kB / 1.333 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.3446, allocations: 27.8 kB / 1.333 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.3449, allocations: 191.3 kB / 1.333 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.3449, allocations: 11.97 kB / 1.333 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3449, allocations: 4 kB / 1.333 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3449, allocations: 0 / 1.333 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007707/0.3457, allocations: 0.5748 MB / 1.334 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3457, allocations: 0 / 1.334 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.346, allocations: 52.02 kB / 1.334 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.346, allocations: 4.094 kB / 1.334 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.346, allocations: 15.92 kB / 1.334 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.346, allocations: 0 / 1.334 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.346, allocations: 4 kB / 1.334 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000645/0.3466, allocations: 445.7 kB / 1.334 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/0.3467, allocations: 51.66 kB / 1.334 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.3468, allocations: 4 kB / 1.334 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.347, allocations: 23.97 kB / 1.335 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.347, allocations: 15.92 kB / 1.335 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3471, allocations: 11.98 kB / 1.335 GB, free: 5.207 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000181/0.3472, allocations: 195.1 kB / 1.335 GB, free: 5.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3472, allocations: 0 / 1.335 GB, free: 5.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004151/0.3476, allocations: 87.77 kB / 1.335 GB, free: 4.934 MB / 1.029 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.0004712/0.3481, allocations: 207.3 kB / 1.335 GB, free: 4.727 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.3486, allocations: 175.9 kB / 1.335 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3486, allocations: 0 / 1.335 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.3489, allocations: 104.2 kB / 1.335 GB, free: 4.453 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007388/0.3496, allocations: 117.5 kB / 1.335 GB, free: 4.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008303/0.3505, allocations: 0.5285 MB / 1.336 GB, free: 3.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.3508, allocations: 0.7714 MB / 1.337 GB, free: 2.969 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.351, allocations: 58.23 kB / 1.337 GB, free: 2.914 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.351, allocations: 19.44 kB / 1.337 GB, free: 2.895 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.351, allocations: 0 / 1.337 GB, free: 2.895 MB / 1.029 GB Notification: Performance of Templates: time 0.01035/0.3614, allocations: 5.364 MB / 1.342 GB, free: 13.6 MB / 1.045 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/jenkins/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: 8.161768426187336]