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.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.001758/0.001758, allocations: 107.5 kB / 16.45 MB, free: 6.504 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.001975/0.001975, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.455/1.455, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.154/3.154, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> 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 0.003022/0.003022, allocations: 66.09 kB / 1.134 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3766, allocations: 173.9 MB / 1.304 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002451/0.3791, allocations: 0.8575 MB / 1.305 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3804, allocations: 0.8896 MB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.3805, allocations: 4 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.3806, allocations: 11.86 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.3807, allocations: 19.81 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.3809, allocations: 51.92 kB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.3812, allocations: 131.7 kB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.3813, allocations: 44.97 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.3814, allocations: 51.84 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.3816, allocations: 79.72 kB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.3817, allocations: 12 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.495e-05/0.3817, allocations: 15.94 kB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.3818, allocations: 39.89 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.953e-05/0.3818, allocations: 63.59 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.3821, allocations: 143.7 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3821, allocations: 0 / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.859e-06/0.3821, allocations: 8 kB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3821, allocations: 0 / 1.306 GB, free: 15.08 MB / 1.014 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.0009207/0.383, allocations: 446.8 kB / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3831, allocations: 12.62 kB / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.3831, allocations: 34.75 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.3832, allocations: 12.89 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.3834, allocations: 210.9 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3834, allocations: 11.94 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3835, allocations: 8 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.3839, allocations: 151.2 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3839, allocations: 0 / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3839, allocations: 4 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3839, allocations: 4 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.3845, allocations: 155.8 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.3852, allocations: 420.4 kB / 1.308 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/0.386, allocations: 166.4 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.3863, allocations: 80.95 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3863, allocations: 7.984 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3863, allocations: 42.55 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3863, allocations: 0 / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0009694/0.3873, allocations: 273.5 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3874, allocations: 55.41 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.3875, allocations: 148.7 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.3875, allocations: 41.58 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.3876, allocations: 100.5 kB / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.3877, allocations: 27.75 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.3877, allocations: 33.69 kB / 1.309 GB, free: 12.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3879, allocations: 318.8 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.3881, allocations: 79.86 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.3884, allocations: 71.92 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.3889, allocations: 164.7 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3889, allocations: 4 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006094/0.3895, allocations: 209.3 kB / 1.309 GB, free: 11.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3895, allocations: 5.562 kB / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3895, allocations: 0 / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3896, allocations: 4 kB / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.3898, allocations: 39.89 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3898, allocations: 0 / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.39, allocations: 27.91 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.39, allocations: 11.97 kB / 1.31 GB, free: 11.53 MB / 1.014 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.0001313/0.3902, allocations: 121.8 kB / 1.31 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.3902, allocations: 23.84 kB / 1.31 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.3902, allocations: 16.7 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3902, allocations: 4 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3902, allocations: 0 / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3903, allocations: 0 / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.3906, allocations: 229.6 kB / 1.31 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3906, allocations: 3.938 kB / 1.31 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.3908, allocations: 39.94 kB / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3908, allocations: 288 / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3908, allocations: 8 kB / 1.31 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3908, allocations: 3.938 kB / 1.31 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3908, allocations: 7.938 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006552/0.3915, allocations: 295.3 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.3915, allocations: 96.89 kB / 1.31 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.3916, allocations: 4 kB / 1.31 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.3917, allocations: 19.97 kB / 1.31 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3919, allocations: 31.95 kB / 1.31 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3919, allocations: 4 kB / 1.31 GB, free: 10.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.63e-05/0.392, allocations: 115.2 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.392, allocations: 0 / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002673/0.3922, allocations: 23.94 kB / 1.311 GB, free: 10.41 MB / 1.014 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.001064/0.3933, allocations: 0.8489 MB / 1.311 GB, free: 9.531 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006008/0.3939, allocations: 167.8 kB / 1.312 GB, free: 9.367 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3939, allocations: 0 / 1.312 GB, free: 9.367 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.3942, allocations: 99.86 kB / 1.312 GB, free: 9.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3945, allocations: 20.55 kB / 1.312 GB, free: 9.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.3975, allocations: 1.84 MB / 1.313 GB, free: 7.332 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3979, allocations: 0.7084 MB / 1.314 GB, free: 6.598 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.398, allocations: 20.44 kB / 1.314 GB, free: 6.578 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3981, allocations: 51.41 kB / 1.314 GB, free: 6.527 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.3981, allocations: 0 / 1.314 GB, free: 6.527 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.4245, allocations: 3.827 MB / 1.318 GB, free: 2.816 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.825, allocations: 10.05 kB / 1.318 GB, free: 2.812 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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: 15.655732946936041]