Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.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.00241/0.00241, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002932/0.002932, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.606/1.606, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 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 3.402/3.402, allocations: 429.4 MB / 0.6729 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.449e-05/4.677e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006596/0.006643, allocations: 3.79 MB / 0.8811 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.01866, allocations: 6.483 MB / 0.8875 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008053/0.01946, allocations: 31.81 kB / 0.8875 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006578/0.02604, allocations: 1.962 MB / 0.8894 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.02787, allocations: 0.6372 MB / 0.89 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 5.334e-05/0.02793, allocations: 0 / 0.89 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04283/0.07076, allocations: 22.74 MB / 0.9122 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.07106, allocations: 38.62 kB / 0.9123 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.07264, allocations: 0.701 MB / 0.913 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009577/0.07359, allocations: 0.5917 MB / 0.9135 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.07372, allocations: 32 kB / 0.9136 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.07397, allocations: 28 kB / 0.9136 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009012/0.07487, allocations: 0.8183 MB / 0.9144 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007095/0.07558, allocations: 470.6 kB / 0.9148 GB, free: 308 kB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.07843, allocations: 1.993 MB / 0.9168 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.07844, allocations: 4 kB / 0.9168 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.284e-06/0.07844, allocations: 0 / 0.9168 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.609e-05/0.07847, allocations: 0 / 0.9168 GB, free: 14.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.004748/0.08322, allocations: 2.553 MB / 0.9193 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.08327, allocations: 8.031 kB / 0.9193 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.08367, allocations: 341.7 kB / 0.9196 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003972/0.08764, allocations: 2.164 MB / 0.9217 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.08779, allocations: 246.4 kB / 0.922 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.08792, allocations: 238.4 kB / 0.9222 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.08804, allocations: 148.9 kB / 0.9223 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.01e-05/0.08811, allocations: 123.2 kB / 0.9224 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.08825, allocations: 242.3 kB / 0.9227 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.08838, allocations: 238.4 kB / 0.9229 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.08851, allocations: 238.4 kB / 0.9231 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.09151, allocations: 1.817 MB / 0.9249 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.09172, allocations: 261.4 kB / 0.9252 GB, free: 5.543 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.21e-05/0.0918, allocations: 134.8 kB / 0.9253 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.485e-05/0.09187, allocations: 123.2 kB / 0.9254 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.09198, allocations: 160.6 kB / 0.9256 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.09198, allocations: 3.938 kB / 0.9256 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.000426/0.09241, allocations: 240.2 kB / 0.9258 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.09253, allocations: 170.6 kB / 0.9259 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004889/0.09742, allocations: 2.952 MB / 0.9288 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.09744, allocations: 25.7 kB / 0.9289 GB, free: 1.695 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.09909, allocations: 1.274 MB / 0.9301 GB, free: 428 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.09909, allocations: 0 / 0.9301 GB, free: 428 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.09914, allocations: 19.38 kB / 0.9301 GB, free: 400 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0005707/0.09971, allocations: 492.4 kB / 0.9306 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.09972, allocations: 3.938 kB / 0.9306 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-06/0.09972, allocations: 0 / 0.9306 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.942e-05/0.09979, allocations: 119.2 kB / 0.9307 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.867e-05/0.09986, allocations: 127.2 kB / 0.9308 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003899/0.1002, allocations: 240.2 kB / 0.9311 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.106e-05/0.1003, allocations: 123.2 kB / 0.9312 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-05/0.1004, allocations: 123.2 kB / 0.9313 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.1005, allocations: 250.4 kB / 0.9315 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.1006, allocations: 119.2 kB / 0.9316 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001312/0.1007, allocations: 246.3 kB / 0.9319 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/0.1013, allocations: 127.2 kB / 0.932 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.1014, allocations: 131.1 kB / 0.9321 GB, free: 14.31 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0005234/0.1019, allocations: 0.4989 MB / 0.9326 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.1023, allocations: 363.4 kB / 0.933 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.1026, allocations: 313.1 kB / 0.9333 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000145/0.1028, allocations: 268 kB / 0.9335 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000153/0.1029, allocations: 272.1 kB / 0.9338 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001463/0.1031, allocations: 276.2 kB / 0.934 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.1054, allocations: 1.744 MB / 0.9357 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.069e-05/0.1054, allocations: 148.9 kB / 0.9359 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.1055, allocations: 148.8 kB / 0.936 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001443/0.1057, allocations: 268.1 kB / 0.9363 GB, free: 9.941 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.1058, allocations: 272 kB / 0.9365 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001454/0.106, allocations: 268.1 kB / 0.9368 GB, free: 9.398 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001469/0.1061, allocations: 268.1 kB / 0.9371 GB, free: 9.129 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.1071, allocations: 0.6523 MB / 0.9377 GB, free: 8.449 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/0.1076, allocations: 347.3 kB / 0.938 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/0.1079, allocations: 272 kB / 0.9383 GB, free: 7.828 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/0.1084, allocations: 160.9 kB / 0.9384 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.1086, allocations: 272 kB / 0.9387 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/0.1087, allocations: 144.9 kB / 0.9388 GB, free: 7.242 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002845/0.1115, allocations: 1.603 MB / 0.9404 GB, free: 5.633 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1115, allocations: 0 / 0.9404 GB, free: 5.633 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005148/0.112, allocations: 180 kB / 0.9406 GB, free: 5.457 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002074/0.1122, allocations: 214.4 kB / 0.9408 GB, free: 5.238 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.649e-05/0.1123, allocations: 7.875 kB / 0.9408 GB, free: 5.23 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1123, allocations: 4 kB / 0.9408 GB, free: 5.227 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.1123, allocations: 4 kB / 0.9408 GB, free: 5.223 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006523/0.1188, allocations: 2.609 MB / 0.9433 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.1238, allocations: 2.836 MB / 0.9461 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.1253, allocations: 0.9951 MB / 0.9471 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00172/0.127, allocations: 319.5 kB / 0.9474 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.1272, allocations: 108.5 kB / 0.9475 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of SimCode: time 2.284e-06/0.1272, allocations: 0 / 0.9475 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of Templates: time 0.09414/0.2213, allocations: 53.4 MB / 0.9996 GB, free: 10.27 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.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.225748961092904]