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.001731/0.001731, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002514/0.002514, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.789 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.22/3.22, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] 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.002015/0.002015, allocations: 65.53 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3339, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002272/0.3362, allocations: 0.8279 MB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3374, allocations: 0.9288 MB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.3375, allocations: 0 / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.288e-05/0.3376, allocations: 7.875 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.3377, allocations: 23.8 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.3378, allocations: 59.92 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.338, allocations: 127.7 kB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3381, allocations: 33.28 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/0.3382, allocations: 51.84 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.3384, allocations: 75.72 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.3384, allocations: 12 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.448e-05/0.3384, allocations: 12 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.3385, allocations: 31.91 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.3386, allocations: 51.7 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.3388, allocations: 151.6 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3388, allocations: 4 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3388, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3388, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 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.0008655/0.3397, allocations: 375.6 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3397, allocations: 8.031 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.514e-05/0.3398, allocations: 42.73 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.3398, allocations: 12.84 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.34, allocations: 144.8 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.34, allocations: 11.94 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.3401, allocations: 8 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.3405, allocations: 153.5 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3405, allocations: 0 / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.3405, allocations: 7.984 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3405, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00056/0.3411, allocations: 155.8 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.3417, allocations: 367.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008217/0.3425, allocations: 170.6 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.3428, allocations: 80.81 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3428, allocations: 4 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.3429, allocations: 38.5 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3429, allocations: 3.938 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0009608/0.3438, allocations: 281.5 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.3439, allocations: 51.41 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.344, allocations: 152.5 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3441, allocations: 25.7 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.3441, allocations: 112 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.3442, allocations: 27.8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.3442, allocations: 33.64 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3444, allocations: 322.8 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.3447, allocations: 75.92 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.3449, allocations: 75.92 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/0.3455, allocations: 152.7 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3455, allocations: 4 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000606/0.3461, allocations: 201.9 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3461, allocations: 8 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3461, allocations: 0 / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3461, allocations: 0 / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.3464, allocations: 44.03 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.3464, allocations: 7.875 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3465, allocations: 23.91 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3466, allocations: 4 kB / 1.33 GB, free: 12.64 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.0001175/0.3467, allocations: 118.4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.3467, allocations: 19.84 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.3468, allocations: 16.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3468, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3468, allocations: 8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3468, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.347, allocations: 188.7 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.347, allocations: 3.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.3473, allocations: 35.95 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3473, allocations: 3.938 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3473, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3473, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3473, allocations: 3.984 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.3479, allocations: 303.2 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.348, allocations: 19.81 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.348, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3482, allocations: 23.97 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/0.3483, allocations: 35.89 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3483, allocations: 8 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.686e-05/0.3484, allocations: 111.2 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3484, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002443/0.3486, allocations: 24 kB / 1.331 GB, free: 11.66 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.001023/0.3496, allocations: 0.8373 MB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006261/0.3503, allocations: 175.7 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3503, allocations: 0 / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.3506, allocations: 95.86 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.3509, allocations: 15.98 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.3539, allocations: 1.845 MB / 1.334 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.354, allocations: 101 kB / 1.334 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.3541, allocations: 16.44 kB / 1.334 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3542, allocations: 43.41 kB / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3542, allocations: 0 / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04736/0.4015, allocations: 4.56 MB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.8, allocations: 14.09 kB / 1.339 GB, free: 3.988 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.66279912693426]