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.001437/0.001437, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001463/0.001463, allocations: 156.9 kB / 23.01 MB, free: 4.605 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.553/1.553, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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.903/2.903, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] 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.002153/0.002153, allocations: 67.91 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9156/0.9178, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01365/0.9314, allocations: 13.85 MB / 1.2 GB, free: 6.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004116/0.9355, allocations: 3.503 MB / 1.204 GB, free: 4.449 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.9358, allocations: 20.94 kB / 1.204 GB, free: 4.438 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.9363, allocations: 178 kB / 1.204 GB, free: 4.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009301/0.9373, allocations: 409.9 kB / 1.204 GB, free: 4.098 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008433/0.9381, allocations: 339.6 kB / 1.204 GB, free: 3.934 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008061/0.9389, allocations: 0.7677 MB / 1.205 GB, free: 3.594 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.9393, allocations: 220.8 kB / 1.205 GB, free: 3.492 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008885/0.9402, allocations: 499.9 kB / 1.206 GB, free: 3.258 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.9404, allocations: 213.7 kB / 1.206 GB, free: 3.172 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.9405, allocations: 20.66 kB / 1.206 GB, free: 3.172 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.9409, allocations: 193.5 kB / 1.206 GB, free: 3.109 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.941, allocations: 77.94 kB / 1.206 GB, free: 3.066 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.9411, allocations: 110.9 kB / 1.206 GB, free: 3.012 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.9417, allocations: 427.4 kB / 1.207 GB, free: 2.852 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9417, allocations: 1.281 kB / 1.207 GB, free: 2.852 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9417, allocations: 0 / 1.207 GB, free: 2.852 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.9417, allocations: 4 kB / 1.207 GB, free: 2.848 MB / 1.076 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.0009551/0.9427, allocations: 0.5373 MB / 1.207 GB, free: 2.426 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.9427, allocations: 9.781 kB / 1.207 GB, free: 2.426 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.713e-05/0.9428, allocations: 34.75 kB / 1.207 GB, free: 2.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.9433, allocations: 264.4 kB / 1.208 GB, free: 2.215 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.9434, allocations: 23.36 kB / 1.208 GB, free: 2.199 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.9434, allocations: 27.41 kB / 1.208 GB, free: 2.188 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.9439, allocations: 307.4 kB / 1.208 GB, free: 2.012 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.9439, allocations: 3.938 kB / 1.208 GB, free: 2.008 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.944, allocations: 14.53 kB / 1.208 GB, free: 1.996 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.944, allocations: 4.875 kB / 1.208 GB, free: 1.996 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004734/0.9444, allocations: 183.2 kB / 1.208 GB, free: 1.949 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.9454, allocations: 0.6434 MB / 1.209 GB, free: 1.508 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.9457, allocations: 125.6 kB / 1.209 GB, free: 1.441 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.946, allocations: 88.28 kB / 1.209 GB, free: 1.406 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.9461, allocations: 45.7 kB / 1.209 GB, free: 1.395 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.9462, allocations: 41.83 kB / 1.209 GB, free: 1.348 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.9462, allocations: 4 kB / 1.209 GB, free: 1.344 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0007664/0.9469, allocations: 260.3 kB / 1.209 GB, free: 1.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.947, allocations: 79.27 kB / 1.209 GB, free: 1.156 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.9471, allocations: 213.1 kB / 1.21 GB, free: 1.023 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.9471, allocations: 32.52 kB / 1.21 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.9472, allocations: 175.5 kB / 1.21 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.9473, allocations: 48.14 kB / 1.21 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.9473, allocations: 35.77 kB / 1.21 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.12e-05/0.9474, allocations: 330.4 kB / 1.21 GB, free: 468 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.9476, allocations: 60.02 kB / 1.21 GB, free: 456 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.9478, allocations: 272.7 kB / 1.211 GB, free: 192 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.9482, allocations: 174.2 kB / 1.211 GB, free: 108 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9482, allocations: 0 / 1.211 GB, free: 108 kB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000499/0.9487, allocations: 210.7 kB / 1.211 GB, free: 20 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.9487, allocations: 7.344 kB / 1.211 GB, free: 20 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9487, allocations: 2.234 kB / 1.211 GB, free: 20 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.9488, allocations: 2.719 kB / 1.211 GB, free: 20 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.949, allocations: 57.75 kB / 1.211 GB, free: 12 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.949, allocations: 1.703 kB / 1.211 GB, free: 12 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.9493, allocations: 39.05 kB / 1.211 GB, free: 15.99 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.9493, allocations: 10.02 kB / 1.211 GB, free: 15.98 MB / 1.092 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.0001486/0.9494, allocations: 137.8 kB / 1.211 GB, free: 15.86 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.9495, allocations: 26.95 kB / 1.211 GB, free: 15.85 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.9498, allocations: 184.4 kB / 1.211 GB, free: 15.76 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.9498, allocations: 6.672 kB / 1.211 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.9498, allocations: 4.844 kB / 1.211 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9498, allocations: 1.844 kB / 1.211 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008085/0.9506, allocations: 0.5201 MB / 1.212 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9506, allocations: 1.406 kB / 1.212 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.9509, allocations: 55.75 kB / 1.212 GB, free: 15.37 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.9509, allocations: 2.438 kB / 1.212 GB, free: 15.37 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.9509, allocations: 5 kB / 1.212 GB, free: 15.37 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.9509, allocations: 1.156 kB / 1.212 GB, free: 15.37 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9509, allocations: 2.344 kB / 1.212 GB, free: 15.37 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/0.9516, allocations: 444 kB / 1.212 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.9517, allocations: 39.91 kB / 1.212 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.9517, allocations: 6.5 kB / 1.212 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.9519, allocations: 19.09 kB / 1.212 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.952, allocations: 16.64 kB / 1.213 GB, free: 15.03 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.952, allocations: 11.12 kB / 1.213 GB, free: 15.03 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001485/0.9522, allocations: 157.8 kB / 1.213 GB, free: 14.93 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.9522, allocations: 7.938 kB / 1.213 GB, free: 14.92 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004878/0.9526, allocations: 99.44 kB / 1.213 GB, free: 14.89 MB / 1.092 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.0003122/0.953, allocations: 187.5 kB / 1.213 GB, free: 14.77 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005364/0.9535, allocations: 178.2 kB / 1.213 GB, free: 14.73 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9535, allocations: 0 / 1.213 GB, free: 14.73 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.9538, allocations: 102.2 kB / 1.213 GB, free: 14.7 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.9545, allocations: 97.33 kB / 1.213 GB, free: 14.67 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008631/0.9553, allocations: 0.5205 MB / 1.214 GB, free: 14.32 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.9555, allocations: 165.9 kB / 1.214 GB, free: 14.24 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.9557, allocations: 48.95 kB / 1.214 GB, free: 14.23 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.9557, allocations: 21.42 kB / 1.214 GB, free: 14.22 MB / 1.092 GB Notification: Performance of SimCode: time 3.51e-07/0.9557, allocations: 0 / 1.214 GB, free: 14.22 MB / 1.092 GB Notification: Performance of Templates: time 0.01009/0.9658, allocations: 4.571 MB / 1.219 GB, free: 13.58 MB / 1.092 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 -s ida -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: 9.247076484956779]