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.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.001792/0.001792, allocations: 111 kB / 16.46 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.001559/0.001559, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.452/1.452, 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.369/3.369, allocations: 497.2 MB / 0.7812 GB, free: 33.69 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.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: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 68.12 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3844, allocations: 173.9 MB / 1.304 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002395/0.3868, allocations: 0.8816 MB / 1.305 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.388, allocations: 0.8857 MB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.388, allocations: 0 / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.3882, allocations: 15.8 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.3883, allocations: 35.78 kB / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.3884, allocations: 35.89 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.3887, allocations: 139.6 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.3888, allocations: 41.34 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.897e-05/0.3889, allocations: 55.77 kB / 1.306 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3891, allocations: 87.66 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.3891, allocations: 16 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.579e-05/0.3891, allocations: 16 kB / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.3892, allocations: 39.89 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.977e-05/0.3893, allocations: 75.53 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3895, allocations: 171.5 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3895, allocations: 0 / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3895, allocations: 0 / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.3895, allocations: 3.938 kB / 1.306 GB, free: 14.97 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001063/0.3906, allocations: 0.5025 MB / 1.307 GB, free: 14.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3906, allocations: 12.62 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.3907, allocations: 42.69 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.3907, allocations: 16.84 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.391, allocations: 221 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.391, allocations: 12.38 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.391, allocations: 8.375 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.3916, allocations: 182 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3916, allocations: 3.938 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.3916, allocations: 4 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.3916, allocations: 4 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.3924, allocations: 219.8 kB / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.3934, allocations: 0.5043 MB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.3939, allocations: 146.4 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.3943, allocations: 116.7 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3943, allocations: 4 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.3943, allocations: 38.69 kB / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.3943, allocations: 0 / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.001188/0.3955, allocations: 361.7 kB / 1.309 GB, free: 12.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3955, allocations: 55.34 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.3957, allocations: 187.3 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3957, allocations: 33.8 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.3958, allocations: 124 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.3959, allocations: 31.73 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.3959, allocations: 21.72 kB / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3961, allocations: 326.8 kB / 1.31 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.3964, allocations: 99.89 kB / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.3968, allocations: 107.9 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.3975, allocations: 212.6 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3975, allocations: 0 / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007642/0.3982, allocations: 257.4 kB / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3982, allocations: 11.88 kB / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3982, allocations: 0 / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3983, allocations: 0 / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.3985, allocations: 51.94 kB / 1.31 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3985, allocations: 7.938 kB / 1.31 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.3987, allocations: 39.84 kB / 1.31 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3987, allocations: 4 kB / 1.31 GB, free: 10.82 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: 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.0001199/0.3989, allocations: 129.8 kB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.3989, allocations: 15.91 kB / 1.31 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/0.399, allocations: 25.39 kB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.399, allocations: 4 kB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.399, allocations: 3.938 kB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.399, allocations: 288 / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.3993, allocations: 241.6 kB / 1.311 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3993, allocations: 0 / 1.311 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.3995, allocations: 51.81 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3995, allocations: 4 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3995, allocations: 0 / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3995, allocations: 4 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3995, allocations: 3.938 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008076/0.4003, allocations: 359.2 kB / 1.311 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.4004, allocations: 89.02 kB / 1.311 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.4004, allocations: 0 / 1.311 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.4006, allocations: 35.94 kB / 1.311 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.4007, allocations: 15.92 kB / 1.311 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.4007, allocations: 4 kB / 1.311 GB, free: 9.762 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001054/0.4008, allocations: 136.4 kB / 1.311 GB, free: 9.629 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4008, allocations: 0 / 1.311 GB, free: 9.629 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002437/0.4011, allocations: 27.94 kB / 1.311 GB, free: 9.602 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: 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.001179/0.4022, allocations: 0.884 MB / 1.312 GB, free: 8.691 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007469/0.403, allocations: 223.7 kB / 1.312 GB, free: 8.473 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.403, allocations: 0 / 1.312 GB, free: 8.473 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.4033, allocations: 120.2 kB / 1.313 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.4037, allocations: 33.23 kB / 1.313 GB, free: 8.324 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.4072, allocations: 2.143 MB / 1.315 GB, free: 6.098 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.4076, allocations: 0.7312 MB / 1.315 GB, free: 5.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.4077, allocations: 24.41 kB / 1.315 GB, free: 5.316 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.4078, allocations: 43.42 kB / 1.315 GB, free: 5.273 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/0.4078, allocations: 0 / 1.315 GB, free: 5.273 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.4353, allocations: 3.676 MB / 1.319 GB, free: 1.723 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.699, allocations: 12 kB / 1.319 GB, free: 1.711 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.590114500839263]