Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.001471/0.001471, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001558/0.001558, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.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 3.265/3.265, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [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.002043/0.002043, allocations: 72.94 kB / 1.177 GB, free: 16.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3559, allocations: 180.2 MB / 1.353 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002265/0.3582, allocations: 0.8613 MB / 1.354 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.3594, allocations: 0.9288 MB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.3595, allocations: 0 / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.3596, allocations: 11.86 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.3597, allocations: 15.81 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.3599, allocations: 59.92 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3601, allocations: 127.7 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3602, allocations: 29.3 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3603, allocations: 63.81 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.3605, allocations: 83.66 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.3606, allocations: 12 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.621e-05/0.3606, allocations: 12 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.3607, allocations: 39.84 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.3607, allocations: 55.72 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.361, allocations: 143.7 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.361, allocations: 4 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.814e-06/0.361, allocations: 0 / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.361, allocations: 0 / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009765/0.362, allocations: 377.6 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.362, allocations: 8.031 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.358e-05/0.3621, allocations: 46.69 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.3621, allocations: 12.84 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.3624, allocations: 154.9 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3624, allocations: 11.94 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3624, allocations: 4 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.3629, allocations: 147.3 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3629, allocations: 0 / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.363, allocations: 3.938 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.363, allocations: 0 / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005649/0.3635, allocations: 163.8 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.3642, allocations: 387.5 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.3651, allocations: 170.6 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.3654, allocations: 80.86 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.3654, allocations: 4 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3654, allocations: 38.5 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.3654, allocations: 0 / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0009282/0.3664, allocations: 285.4 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3664, allocations: 51.41 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.3666, allocations: 157.2 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3666, allocations: 25.7 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.3667, allocations: 108 kB / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.3667, allocations: 27.8 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.3668, allocations: 29.7 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3669, allocations: 322.8 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.3672, allocations: 75.92 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.3675, allocations: 75.92 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.368, allocations: 160.7 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.368, allocations: 3.938 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005938/0.3686, allocations: 201.9 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3686, allocations: 4 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3686, allocations: 4 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3686, allocations: 7.984 kB / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.3689, allocations: 35.95 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3689, allocations: 0 / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.3691, allocations: 27.95 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3691, allocations: 3.938 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001239/0.3692, allocations: 129.8 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.3692, allocations: 15.88 kB / 1.358 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.3693, allocations: 16.72 kB / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3693, allocations: 0 / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3693, allocations: 0 / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3693, allocations: 0 / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.3696, allocations: 208.6 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3696, allocations: 3.938 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.3698, allocations: 43.89 kB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3698, allocations: 4 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3698, allocations: 4 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3698, allocations: 0 / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3698, allocations: 0 / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006764/0.3705, allocations: 307.2 kB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.3705, allocations: 19.81 kB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3706, allocations: 0 / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.3708, allocations: 23.97 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.777e-05/0.3709, allocations: 31.95 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.3709, allocations: 3.984 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.613e-05/0.371, allocations: 108.8 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.371, allocations: 0 / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002498/0.3712, allocations: 31.95 kB / 1.359 GB, free: 1.602 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.00098/0.3722, allocations: 0.8372 MB / 1.36 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005954/0.3728, allocations: 167.9 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3728, allocations: 0 / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.3731, allocations: 103.8 kB / 1.36 GB, free: 484 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.3734, allocations: 17.55 kB / 1.36 GB, free: 468 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.3763, allocations: 1.837 MB / 1.362 GB, free: 14.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3766, allocations: 0.708 MB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.3767, allocations: 20.42 kB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3768, allocations: 47.41 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3768, allocations: 0 / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.4071, allocations: 3.986 MB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.16, allocations: 8.891 kB / 1.367 GB, free: 9.887 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable add1.u[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[3] in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[3] from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.106360696000138]