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.0007772/0.0007772, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.000849/0.000849, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 0.8976/0.8976, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.74/1.74, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.93e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001384/0.001403, allocations: 0.8213 MB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008839/0.002287, allocations: 0.9178 MB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.002351, allocations: 4 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.002455, allocations: 15.81 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.002565, allocations: 27.73 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.002743, allocations: 55.86 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.002885, allocations: 135.7 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.003096, allocations: 25.28 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.003182, allocations: 75.88 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.0033, allocations: 59.84 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.003333, allocations: 15.98 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.003347, allocations: 16 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.003397, allocations: 35.84 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.003437, allocations: 39.91 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.003596, allocations: 159.4 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.003598, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.41e-07/0.003599, allocations: 4 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003603, allocations: 0 / 1.002 GB, free: 11.09 MB / 0.9636 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.0005362/0.004139, allocations: 361.8 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.004177, allocations: 12.75 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.004211, allocations: 38.73 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.004237, allocations: 16.89 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.004387, allocations: 154 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.004401, allocations: 4.375 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.004416, allocations: 12.12 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.004669, allocations: 151.6 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.004676, allocations: 0 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.004691, allocations: 8 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004695, allocations: 0 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.004982, allocations: 155.8 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.005407, allocations: 359.6 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.006042, allocations: 174.6 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.006187, allocations: 84.81 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.006206, allocations: 0 / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.006222, allocations: 30.56 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 8.71e-07/0.006223, allocations: 0 / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0005328/0.006756, allocations: 289.4 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.006782, allocations: 55.34 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.006871, allocations: 149 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.006885, allocations: 29.7 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.006931, allocations: 104.1 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.006954, allocations: 27.75 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.006996, allocations: 37.69 kB / 1.004 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.00707, allocations: 322.8 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.00721, allocations: 75.86 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.007348, allocations: 75.92 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.00762, allocations: 160.7 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.007622, allocations: 0 / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000317/0.007939, allocations: 205.4 kB / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.007952, allocations: 9.656 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.007956, allocations: 0 / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.007967, allocations: 4 kB / 1.005 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.00808, allocations: 31.95 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.008086, allocations: 8.641 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/0.008157, allocations: 15.98 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.008166, allocations: 7.922 kB / 1.005 GB, free: 7.793 MB / 0.9636 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 7.419e-05/0.00824, allocations: 125.8 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.008262, allocations: 15.89 kB / 1.005 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.008286, allocations: 24.7 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008288, allocations: 0 / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.008293, allocations: 3.938 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.008295, allocations: 0 / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.008441, allocations: 188.6 kB / 1.005 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.008442, allocations: 0 / 1.005 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.565e-05/0.008537, allocations: 43.95 kB / 1.005 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.008539, allocations: 0 / 1.005 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.008549, allocations: 7.938 kB / 1.005 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.00855, allocations: 3.938 kB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008551, allocations: 0 / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.008891, allocations: 295.3 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.008906, allocations: 23.89 kB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.008921, allocations: 3.938 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.009007, allocations: 19.97 kB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.009082, allocations: 39.89 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.009089, allocations: 4 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.009136, allocations: 107.2 kB / 1.006 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009136, allocations: 0 / 1.006 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001597/0.009295, allocations: 24 kB / 1.006 GB, free: 6.812 MB / 0.9636 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.0005175/0.009813, allocations: 0.8372 MB / 1.007 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005812/0.01039, allocations: 171.8 kB / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0104, allocations: 384 / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.01056, allocations: 95.86 kB / 1.007 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.01075, allocations: 23.98 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.01238, allocations: 1.857 MB / 1.009 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.765e-05/0.01244, allocations: 93.25 kB / 1.009 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.626e-05/0.0125, allocations: 20.48 kB / 1.009 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.01259, allocations: 52.47 kB / 1.009 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.01259, allocations: 0 / 1.009 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.02961, allocations: 4.681 MB / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/6.818, allocations: 0 / 1.014 GB, free: 15.02 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.93180956505239]