Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001905/0.001905, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002405/0.002405, allocations: 221 kB / 22.25 MB, free: 5.215 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 8.004 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.44/3.44, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_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.002252/0.002252, allocations: 72.09 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4137, allocations: 180.2 MB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00228/0.416, allocations: 0.8629 MB / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.4173, allocations: 0.9289 MB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.4173, allocations: 4 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.4175, allocations: 11.81 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.4176, allocations: 15.86 kB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.4178, allocations: 63.86 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.418, allocations: 127.7 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.4182, allocations: 33.28 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.4183, allocations: 55.84 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.4185, allocations: 79.72 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.4185, allocations: 12 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.877e-05/0.4186, allocations: 12 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.4186, allocations: 39.83 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.359e-05/0.4187, allocations: 55.72 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.419, allocations: 147.6 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.419, allocations: 4 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/0.419, allocations: 0 / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.419, allocations: 0 / 1.355 GB, free: 5.961 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000929/0.4199, allocations: 373.6 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4199, allocations: 12.03 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.42, allocations: 42.73 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.4201, allocations: 16.84 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.4203, allocations: 148.2 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.4203, allocations: 7.938 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.4203, allocations: 8 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.4208, allocations: 149.5 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4208, allocations: 0 / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.4208, allocations: 4 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4208, allocations: 4 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.4214, allocations: 155.8 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007278/0.4221, allocations: 387.5 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/0.423, allocations: 178.5 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.4232, allocations: 80.88 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.4233, allocations: 0 / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.4233, allocations: 38.56 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 9.01e-07/0.4233, allocations: 0 / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0009427/0.4242, allocations: 285.5 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.4243, allocations: 51.41 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4244, allocations: 151.7 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.4245, allocations: 33.7 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.4245, allocations: 108 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.4246, allocations: 27.8 kB / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.4246, allocations: 29.7 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4248, allocations: 322.8 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.4251, allocations: 71.92 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.4253, allocations: 79.86 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.4258, allocations: 153.3 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4258, allocations: 3.938 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006295/0.4265, allocations: 217.3 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4265, allocations: 4 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4265, allocations: 0 / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4265, allocations: 0 / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.4268, allocations: 39.95 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4268, allocations: 0 / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.4269, allocations: 31.86 kB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.427, allocations: 4 kB / 1.358 GB, free: 2.609 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: 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.000129/0.4271, allocations: 125.7 kB / 1.358 GB, free: 2.477 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.4271, allocations: 15.89 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.4272, allocations: 12.72 kB / 1.358 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4272, allocations: 11.98 kB / 1.358 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4272, allocations: 0 / 1.358 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.4272, allocations: 3.984 kB / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.4275, allocations: 200.7 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4275, allocations: 3.938 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.4277, allocations: 35.95 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4277, allocations: 0 / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.4277, allocations: 3.984 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4277, allocations: 0 / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4277, allocations: 4 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.4284, allocations: 303.2 kB / 1.359 GB, free: 1.836 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.4284, allocations: 15.83 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.4284, allocations: 4 kB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.4286, allocations: 23.97 kB / 1.359 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.4287, allocations: 31.95 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.4287, allocations: 8 kB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.531e-05/0.4288, allocations: 117.1 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4288, allocations: 0 / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002508/0.4291, allocations: 19.95 kB / 1.359 GB, free: 1.621 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: 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.001012/0.4301, allocations: 0.8451 MB / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005964/0.4307, allocations: 171.8 kB / 1.36 GB, free: 0.582 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4307, allocations: 0 / 1.36 GB, free: 0.582 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.431, allocations: 95.91 kB / 1.36 GB, free: 500 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.4313, allocations: 16 kB / 1.36 GB, free: 484 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.4343, allocations: 1.851 MB / 1.362 GB, free: 14.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.4346, allocations: 0.7002 MB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000105/0.4347, allocations: 28.42 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.4348, allocations: 47.41 kB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.4348, allocations: 0 / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.4678, allocations: 3.974 MB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.64, allocations: 11.08 kB / 1.367 GB, free: 9.898 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.85183443594724]