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.001478/0.001478, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001708/0.001708, allocations: 218.2 kB / 23.04 MB, free: 5.07 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.268/3.268, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 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.002078/0.002078, allocations: 70.27 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.34, allocations: 179 MB / 1.345 GB, free: 384 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.00216/0.3422, allocations: 0.8836 MB / 1.346 GB, free: 15.49 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3433, allocations: 0.9055 MB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.3434, allocations: 4 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.3435, allocations: 15.8 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3436, allocations: 35.73 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.3437, allocations: 35.95 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.3439, allocations: 143.5 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.344, allocations: 41.58 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.177e-05/0.3441, allocations: 51.84 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.3443, allocations: 87.72 kB / 1.348 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.3443, allocations: 16 kB / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.18e-05/0.3443, allocations: 12 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.3444, allocations: 43.84 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.3445, allocations: 71.58 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.3447, allocations: 175.1 kB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3447, allocations: 4 kB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3447, allocations: 0 / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.3447, allocations: 0 / 1.348 GB, free: 13.85 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.0009223/0.3456, allocations: 437.4 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3456, allocations: 12.03 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.149e-05/0.3457, allocations: 192 / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.3457, allocations: 42.73 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.3457, allocations: 24.8 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.346, allocations: 166.2 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.346, allocations: 8.375 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.346, allocations: 12.36 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/0.3465, allocations: 179.6 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3466, allocations: 0 / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3466, allocations: 11.94 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3466, allocations: 0 / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008608/0.3474, allocations: 219.8 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009908/0.3484, allocations: 487.4 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.3489, allocations: 150.3 kB / 1.35 GB, free: 12.01 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/0.3493, allocations: 124.7 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3493, allocations: 0 / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.3493, allocations: 30.56 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3493, allocations: 0 / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.001309/0.3507, allocations: 365.6 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.3507, allocations: 59.34 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.3509, allocations: 187.5 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3509, allocations: 25.7 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.351, allocations: 128 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.351, allocations: 27.75 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.3511, allocations: 21.7 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3512, allocations: 326.8 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.3516, allocations: 103.9 kB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.352, allocations: 107.8 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007517/0.3528, allocations: 208.6 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3528, allocations: 0 / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008634/0.3536, allocations: 265.8 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3537, allocations: 8 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3537, allocations: 0 / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3537, allocations: 0 / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.354, allocations: 47.89 kB / 1.351 GB, free: 9.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.354, allocations: 3.984 kB / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.3542, allocations: 39.89 kB / 1.351 GB, free: 9.902 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3542, allocations: 0 / 1.351 GB, free: 9.902 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.0001374/0.3543, allocations: 133.8 kB / 1.352 GB, free: 9.762 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.3544, allocations: 11.91 kB / 1.352 GB, free: 9.75 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.3544, allocations: 25.41 kB / 1.352 GB, free: 9.715 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3544, allocations: 7.938 kB / 1.352 GB, free: 9.707 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3544, allocations: 3.938 kB / 1.352 GB, free: 9.703 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3544, allocations: 3.984 kB / 1.352 GB, free: 9.699 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.3547, allocations: 216.6 kB / 1.352 GB, free: 9.445 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3547, allocations: 0 / 1.352 GB, free: 9.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.355, allocations: 39.95 kB / 1.352 GB, free: 9.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.355, allocations: 3.984 kB / 1.352 GB, free: 9.402 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.355, allocations: 8 kB / 1.352 GB, free: 9.395 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.355, allocations: 7.938 kB / 1.352 GB, free: 9.387 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.355, allocations: 0 / 1.352 GB, free: 9.387 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009704/0.356, allocations: 347.2 kB / 1.352 GB, free: 9.031 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.356, allocations: 15.91 kB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.356, allocations: 0 / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.3562, allocations: 35.89 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.3563, allocations: 15.97 kB / 1.352 GB, free: 8.965 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.3563, allocations: 8 kB / 1.352 GB, free: 8.957 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002075/0.3565, allocations: 135.1 kB / 1.352 GB, free: 8.824 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3565, allocations: 0 / 1.352 GB, free: 8.824 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002562/0.3568, allocations: 31.89 kB / 1.352 GB, free: 8.793 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.001213/0.358, allocations: 0.8841 MB / 1.353 GB, free: 7.883 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008337/0.3588, allocations: 223.8 kB / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3588, allocations: 3.938 kB / 1.354 GB, free: 7.66 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.3592, allocations: 115.9 kB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.3596, allocations: 33.38 kB / 1.354 GB, free: 7.516 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.3633, allocations: 2.137 MB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.3637, allocations: 0.7275 MB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.816e-05/0.3638, allocations: 24.39 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3639, allocations: 47.36 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of SimCode: time 9.12e-07/0.3639, allocations: 0 / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.3885, allocations: 3.821 MB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.91, allocations: 5.234 kB / 1.36 GB, free: 0.8203 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: 18.964966468978673]