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.001667/0.001667, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002209/0.002209, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.961 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.352/3.352, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_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.002002/0.002002, allocations: 67.77 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3565, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002425/0.3589, allocations: 0.9039 MB / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3602, allocations: 0.9094 MB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.3603, allocations: 4 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.3604, allocations: 11.81 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.3605, allocations: 35.73 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.3606, allocations: 39.94 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.3608, allocations: 139.5 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.361, allocations: 33.8 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3611, allocations: 63.77 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.3613, allocations: 79.73 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.3613, allocations: 12 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.532e-05/0.3613, allocations: 16 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.3614, allocations: 51.83 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.3615, allocations: 63.59 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.3618, allocations: 175.2 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3618, allocations: 7.938 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3618, allocations: 0 / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.3618, allocations: 0 / 1.355 GB, free: 5.887 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.001127/0.3629, allocations: 441.4 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.363, allocations: 12.03 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.3631, allocations: 34.75 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3632, allocations: 24.78 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.3634, allocations: 162.2 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3634, allocations: 8.375 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3635, allocations: 12.31 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.364, allocations: 179.8 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.364, allocations: 3.938 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3641, allocations: 0 / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3641, allocations: 4 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007785/0.3649, allocations: 223.8 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.366, allocations: 483.4 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.3666, allocations: 146.4 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.367, allocations: 120.8 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.367, allocations: 0 / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.367, allocations: 38.56 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.367, allocations: 0 / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.001186/0.3682, allocations: 361.7 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3683, allocations: 59.33 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.3684, allocations: 179 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.3685, allocations: 29.64 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.3686, allocations: 132 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.3686, allocations: 35.72 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/0.3687, allocations: 21.72 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3689, allocations: 322.8 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.3692, allocations: 99.88 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.3696, allocations: 107.9 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006874/0.3703, allocations: 216.6 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3703, allocations: 0 / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000804/0.3711, allocations: 261.3 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3711, allocations: 5.719 kB / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3711, allocations: 0 / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3711, allocations: 0 / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.3716, allocations: 47.94 kB / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3716, allocations: 3.938 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.3718, allocations: 39.89 kB / 1.359 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3718, allocations: 4 kB / 1.359 GB, free: 1.953 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.000129/0.3719, allocations: 129.8 kB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.372, allocations: 15.91 kB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.294e-05/0.372, allocations: 25.39 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.372, allocations: 0 / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.372, allocations: 8.219 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.372, allocations: 0 / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.3723, allocations: 220.6 kB / 1.359 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3723, allocations: 3.938 kB / 1.359 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.3726, allocations: 43.94 kB / 1.359 GB, free: 1.453 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3726, allocations: 4 kB / 1.359 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3726, allocations: 0 / 1.359 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3726, allocations: 3.938 kB / 1.359 GB, free: 1.445 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3726, allocations: 3.938 kB / 1.359 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008415/0.3734, allocations: 363.2 kB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.3735, allocations: 11.91 kB / 1.36 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.3735, allocations: 3.984 kB / 1.36 GB, free: 1.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.3737, allocations: 31.95 kB / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.3738, allocations: 15.92 kB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3738, allocations: 4 kB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001227/0.3739, allocations: 131.1 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3739, allocations: 4 kB / 1.36 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002565/0.3742, allocations: 35.89 kB / 1.36 GB, free: 0.8359 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.001375/0.3755, allocations: 0.884 MB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009475/0.3765, allocations: 219.7 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3765, allocations: 0 / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.3769, allocations: 116.2 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.3772, allocations: 36.03 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.3809, allocations: 2.127 MB / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.3813, allocations: 0.7352 MB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.3814, allocations: 20.41 kB / 1.364 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3815, allocations: 43.42 kB / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.3815, allocations: 0 / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0415/0.423, allocations: 3.796 MB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.78, allocations: 3.078 kB / 1.368 GB, free: 8.887 MB / 1.061 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.785951748024672]