Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001956/0.001956, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002794/0.002794, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.208/3.208, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="cs",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.002006/0.002006, allocations: 61.84 kB / 1.171 GB, free: 19.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3549, allocations: 179 MB / 1.345 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002341/0.3573, allocations: 0.8427 MB / 1.346 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3586, allocations: 0.9015 MB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.3587, allocations: 0 / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.3588, allocations: 19.8 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.359, allocations: 31.78 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.3592, allocations: 39.95 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.3594, allocations: 139.6 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3595, allocations: 45.58 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3597, allocations: 59.72 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3598, allocations: 87.72 kB / 1.347 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.3599, allocations: 12 kB / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.852e-05/0.3599, allocations: 12 kB / 1.347 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.36, allocations: 43.84 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.36, allocations: 51.72 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.3603, allocations: 175.2 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3603, allocations: 3.938 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3603, allocations: 4 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.3603, allocations: 4 kB / 1.348 GB, free: 13.3 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001011/0.3613, allocations: 433.4 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.3613, allocations: 16.02 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.591e-05/0.3614, allocations: 192 / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.3614, allocations: 46.75 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.3615, allocations: 20.8 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.3617, allocations: 158.2 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3617, allocations: 8.375 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3618, allocations: 8.375 kB / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.3623, allocations: 187.3 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3624, allocations: 4 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.3624, allocations: 4 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.3624, allocations: 4 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.3631, allocations: 219.8 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.3641, allocations: 455.5 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.3646, allocations: 150.4 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.365, allocations: 112.9 kB / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.365, allocations: 7.938 kB / 1.349 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.365, allocations: 30.56 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.365, allocations: 0 / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.001268/0.3663, allocations: 369.3 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3663, allocations: 59.34 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.3665, allocations: 183.5 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3666, allocations: 29.7 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.3667, allocations: 120 kB / 1.35 GB, free: 10.56 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.3667, allocations: 31.73 kB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.3668, allocations: 21.72 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3669, allocations: 322.8 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.3673, allocations: 103.9 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.3676, allocations: 107.9 kB / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006995/0.3683, allocations: 212.6 kB / 1.351 GB, free: 9.758 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3683, allocations: 4 kB / 1.351 GB, free: 9.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007879/0.3691, allocations: 257.3 kB / 1.351 GB, free: 9.496 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3691, allocations: 8.656 kB / 1.351 GB, free: 9.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3691, allocations: 0 / 1.351 GB, free: 9.488 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3692, allocations: 4 kB / 1.351 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.3695, allocations: 47.88 kB / 1.351 GB, free: 9.438 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3695, allocations: 0 / 1.351 GB, free: 9.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.3697, allocations: 35.89 kB / 1.351 GB, free: 9.402 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3697, allocations: 11.94 kB / 1.351 GB, free: 9.391 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: 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.0001189/0.3698, allocations: 129.8 kB / 1.351 GB, free: 9.254 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.3698, allocations: 15.91 kB / 1.352 GB, free: 9.238 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.434e-05/0.3699, allocations: 21.39 kB / 1.352 GB, free: 9.211 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3699, allocations: 3.938 kB / 1.352 GB, free: 9.207 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3699, allocations: 0 / 1.352 GB, free: 9.207 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3699, allocations: 4 kB / 1.352 GB, free: 9.203 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.3702, allocations: 204.6 kB / 1.352 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3702, allocations: 8 kB / 1.352 GB, free: 8.953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.3704, allocations: 47.89 kB / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3704, allocations: 0 / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3705, allocations: 0 / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.3705, allocations: 3.938 kB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3705, allocations: 3.984 kB / 1.352 GB, free: 8.898 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.3713, allocations: 363.2 kB / 1.352 GB, free: 8.527 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.3713, allocations: 11.94 kB / 1.352 GB, free: 8.516 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.3714, allocations: 4 kB / 1.352 GB, free: 8.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.3716, allocations: 31.89 kB / 1.352 GB, free: 8.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.3716, allocations: 19.97 kB / 1.352 GB, free: 8.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.3717, allocations: 4 kB / 1.352 GB, free: 8.457 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001197/0.3718, allocations: 131.1 kB / 1.352 GB, free: 8.328 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3718, allocations: 0 / 1.352 GB, free: 8.328 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002652/0.372, allocations: 35.89 kB / 1.352 GB, free: 8.293 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: 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.001261/0.3733, allocations: 0.884 MB / 1.353 GB, free: 7.383 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007748/0.3741, allocations: 223.8 kB / 1.353 GB, free: 7.164 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3741, allocations: 0 / 1.353 GB, free: 7.164 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.3745, allocations: 115.8 kB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3748, allocations: 31.67 kB / 1.354 GB, free: 7.02 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.3784, allocations: 2.135 MB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.3785, allocations: 106.1 kB / 1.356 GB, free: 4.68 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.069e-05/0.3786, allocations: 24.42 kB / 1.356 GB, free: 4.656 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.3787, allocations: 43.42 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of SimCode: time 5.2e-07/0.3787, allocations: 3.938 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.4104, allocations: 3.971 MB / 1.36 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.14, allocations: 17.02 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.01402164401952]