Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001855/0.001855, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002397/0.002397, allocations: 216.3 kB / 22.25 MB, free: 4.855 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.194/3.194, allocations: 0.4892 GB / 0.7943 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_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.002191/0.002191, allocations: 66.92 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3578, allocations: 176.1 MB / 1.325 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002142/0.3599, allocations: 0.8518 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3611, allocations: 0.9016 MB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.3612, allocations: 4 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.3613, allocations: 19.8 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.3614, allocations: 23.73 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.3615, allocations: 43.94 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.3618, allocations: 139.6 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.3619, allocations: 37.81 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.403e-05/0.362, allocations: 55.83 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.3622, allocations: 79.67 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.3622, allocations: 12 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.603e-05/0.3622, allocations: 12 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.3623, allocations: 51.83 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.415e-05/0.3624, allocations: 51.75 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.3626, allocations: 179.1 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3626, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3626, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3626, allocations: 7.984 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009977/0.3636, allocations: 437.4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3637, allocations: 8.031 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.3637, allocations: 46.67 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.3638, allocations: 20.84 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.364, allocations: 162.2 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.364, allocations: 12.33 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.364, allocations: 8.375 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.3646, allocations: 175.5 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3646, allocations: 11.88 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3646, allocations: 8 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3646, allocations: 0 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/0.3654, allocations: 215.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.3664, allocations: 467.5 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/0.3669, allocations: 150.4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.3673, allocations: 104.8 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3673, allocations: 7.984 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3674, allocations: 38.56 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.3674, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.001257/0.3686, allocations: 365.5 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.3687, allocations: 59.34 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.3689, allocations: 178.3 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.3689, allocations: 29.7 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.369, allocations: 116.1 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.369, allocations: 31.69 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.3691, allocations: 25.72 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3692, allocations: 330.8 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.3696, allocations: 99.89 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.37, allocations: 107.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007389/0.3707, allocations: 217.1 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3707, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008601/0.3716, allocations: 265.3 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3716, allocations: 4 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.3716, allocations: 4 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3716, allocations: 0 / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.3719, allocations: 39.95 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.372, allocations: 3.938 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3722, allocations: 43.88 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3722, allocations: 0 / 1.331 GB, free: 11.9 MB / 1.029 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 (9): * Single equations (assignments): 9 * 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.0001246/0.3723, allocations: 136.9 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.3723, allocations: 19.89 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.3724, allocations: 21.41 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3724, allocations: 3.938 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3724, allocations: 3.938 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3724, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.3727, allocations: 196.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3727, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.3729, allocations: 47.94 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3729, allocations: 8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3729, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3729, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3729, allocations: 3.938 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009483/0.3739, allocations: 355.2 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.3739, allocations: 12.09 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.3739, allocations: 4 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.3742, allocations: 35.89 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.3742, allocations: 19.91 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3743, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001185/0.3744, allocations: 139.1 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3744, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002555/0.3746, allocations: 31.89 kB / 1.332 GB, free: 10.81 MB / 1.029 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 (9): * Single equations (assignments): 9 * 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.001216/0.3758, allocations: 0.884 MB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000821/0.3767, allocations: 215.8 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3767, allocations: 3.938 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.3771, allocations: 111.9 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.3774, allocations: 31.92 kB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.3812, allocations: 2.135 MB / 1.335 GB, free: 7.328 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.3813, allocations: 114.1 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.402e-05/0.3814, allocations: 24.41 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.609e-05/0.3815, allocations: 43.42 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3815, allocations: 0 / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03482/0.4163, allocations: 4.342 MB / 1.34 GB, free: 2.957 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.91, allocations: 18.05 kB / 1.34 GB, free: 2.941 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 18.648226947989315]