Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001311/0.001311, allocations: 103 kB / 16.45 MB, free: 6.449 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.001401/0.001401, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.15/3.15, allocations: 0.49 GB / 0.7916 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] 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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_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.002097/0.002097, allocations: 68.08 kB / 1.149 GB, free: 26.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3662, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002325/0.3685, allocations: 0.8564 MB / 1.322 GB, free: 2.469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3697, allocations: 0.9211 MB / 1.323 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.3698, allocations: 3.938 kB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.3699, allocations: 15.8 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.37, allocations: 19.84 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.3702, allocations: 59.86 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.3704, allocations: 127.7 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3705, allocations: 37.05 kB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.3706, allocations: 59.81 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3708, allocations: 83.66 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.3708, allocations: 12 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.69e-05/0.3709, allocations: 12 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.3709, allocations: 35.91 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.371, allocations: 51.7 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.3712, allocations: 139.6 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.3712, allocations: 3.984 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3712, allocations: 0 / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3712, allocations: 11.94 kB / 1.323 GB, free: 0.8711 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008672/0.3721, allocations: 442.8 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3721, allocations: 15.98 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.3722, allocations: 42.73 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.3722, allocations: 16.84 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.3724, allocations: 196.8 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.3725, allocations: 23.83 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3725, allocations: 8 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.373, allocations: 149.5 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.373, allocations: 3.984 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.373, allocations: 4 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.373, allocations: 4 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.3736, allocations: 155.8 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.3743, allocations: 416.4 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008831/0.3752, allocations: 174.5 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.3755, allocations: 80.86 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3755, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3755, allocations: 38.56 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.3755, allocations: 4 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.00101/0.3765, allocations: 277.4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3766, allocations: 59.39 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3767, allocations: 144.5 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.3767, allocations: 29.7 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.3768, allocations: 108 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.3769, allocations: 31.73 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.3769, allocations: 29.7 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3771, allocations: 326.8 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.3774, allocations: 71.92 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.3777, allocations: 79.86 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.3782, allocations: 156.7 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3782, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006464/0.3789, allocations: 209.4 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3789, allocations: 4 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3789, allocations: 0 / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3789, allocations: 4.656 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.3792, allocations: 35.95 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3792, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.3794, allocations: 23.91 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.3794, allocations: 8 kB / 1.326 GB, free: 13.33 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001173/0.3795, allocations: 125.8 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.3795, allocations: 19.84 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.942e-05/0.3796, allocations: 16.66 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3796, allocations: 4 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3796, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3796, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.3799, allocations: 237.5 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3799, allocations: 3.938 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.3802, allocations: 35.95 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3802, allocations: 0 / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3802, allocations: 4 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3802, allocations: 0 / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.3802, allocations: 8 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007382/0.3809, allocations: 299.2 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.381, allocations: 96.98 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.381, allocations: 0 / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.3812, allocations: 23.97 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.3813, allocations: 27.97 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3813, allocations: 4 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001166/0.3815, allocations: 114.4 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3815, allocations: 0 / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002705/0.3817, allocations: 27.94 kB / 1.327 GB, free: 12.21 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001068/0.3828, allocations: 0.8527 MB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006447/0.3834, allocations: 175.8 kB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3834, allocations: 0 / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.3838, allocations: 95.91 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.3841, allocations: 17.2 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.3871, allocations: 1.85 MB / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3874, allocations: 0.7002 MB / 1.331 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.718e-05/0.3875, allocations: 24.42 kB / 1.331 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3876, allocations: 47.41 kB / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3876, allocations: 0 / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.4133, allocations: 3.825 MB / 1.335 GB, free: 4.598 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.663, allocations: 7.188 kB / 1.335 GB, free: 4.594 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.206173084210604]