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.001343/0.001343, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001619/0.001619, allocations: 222.1 kB / 22.25 MB, free: 5.254 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.781 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.171/3.171, allocations: 0.49 GB / 0.7951 GB, free: 35.53 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.002068/0.002068, allocations: 66.64 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3736, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002334/0.3759, allocations: 0.8166 MB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.3773, allocations: 0.9287 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.3774, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.3775, allocations: 15.88 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.3776, allocations: 19.8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.3778, allocations: 59.92 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.378, allocations: 131.7 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3782, allocations: 29.3 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.051e-05/0.3783, allocations: 55.83 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.3784, allocations: 79.73 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.3785, allocations: 12 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.3785, allocations: 12 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.3786, allocations: 43.83 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.3786, allocations: 47.72 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3788, allocations: 147.7 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3788, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3788, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3789, allocations: 0 / 1.328 GB, free: 15.04 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.0008716/0.3797, allocations: 369.7 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3798, allocations: 8.031 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.988e-05/0.3798, allocations: 46.73 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.3799, allocations: 16.89 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.3801, allocations: 144.4 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3801, allocations: 11.94 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.3801, allocations: 11.94 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.3806, allocations: 149.5 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3806, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.3806, allocations: 4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3806, allocations: 8 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/0.3812, allocations: 147.8 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007258/0.3819, allocations: 367.6 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/0.3829, allocations: 174.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.3831, allocations: 80.86 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3832, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3832, allocations: 30.56 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3832, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0009734/0.3842, allocations: 285.4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.3842, allocations: 55.41 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3844, allocations: 152.2 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3844, allocations: 25.7 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.3845, allocations: 116 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.3845, allocations: 27.83 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.3846, allocations: 29.7 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3847, allocations: 322.8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.385, allocations: 71.92 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.3853, allocations: 75.92 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.3858, allocations: 152.7 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3858, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006298/0.3864, allocations: 213.9 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3864, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3864, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3864, allocations: 3.984 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.3867, allocations: 39.89 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.3867, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.3869, allocations: 31.94 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3869, allocations: 11.94 kB / 1.331 GB, free: 11.72 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.0001204/0.3871, allocations: 124.1 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.3871, allocations: 19.83 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.3871, allocations: 12.72 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3871, allocations: 4 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3872, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3872, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.3874, allocations: 184.7 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3874, allocations: 3.938 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.3877, allocations: 39.95 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3877, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.3877, allocations: 7.984 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3877, allocations: 11.92 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3877, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.3884, allocations: 303.2 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.3884, allocations: 11.83 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.3884, allocations: 8 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3886, allocations: 15.97 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3888, allocations: 31.95 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3888, allocations: 8 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.599e-05/0.3889, allocations: 113.1 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3889, allocations: 0 / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002523/0.3891, allocations: 24 kB / 1.332 GB, free: 10.75 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.001/0.3901, allocations: 0.8372 MB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006108/0.3907, allocations: 175.9 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3907, allocations: 0 / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.391, allocations: 95.86 kB / 1.333 GB, free: 9.617 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.3913, allocations: 15.98 kB / 1.333 GB, free: 9.602 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.3943, allocations: 1.853 MB / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.966e-05/0.3944, allocations: 93.05 kB / 1.335 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.3945, allocations: 24.42 kB / 1.335 GB, free: 7.523 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.3946, allocations: 43.42 kB / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of SimCode: time 7.12e-07/0.3946, allocations: 4 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.4262, allocations: 4.587 MB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.68, allocations: 10.36 kB / 1.34 GB, free: 3.035 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.454975140019087]