Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00181/0.00181, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002254/0.002254, allocations: 211.6 kB / 22.24 MB, free: 4.855 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.722/2.722, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_11_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: 70.92 kB / 1.117 GB, free: 41.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3479, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002247/0.3501, allocations: 0.811 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3514, allocations: 0.9171 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.3515, allocations: 4 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.3516, allocations: 11.88 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.3517, allocations: 27.78 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.3519, allocations: 55.88 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.3521, allocations: 131.7 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.3523, allocations: 28.81 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.012e-05/0.3523, allocations: 59.83 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.3525, allocations: 67.73 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.3525, allocations: 15.98 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.824e-05/0.3526, allocations: 12 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.3526, allocations: 35.91 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.3527, allocations: 55.66 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.3529, allocations: 137.1 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3529, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3529, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.3529, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 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.0008597/0.3538, allocations: 377.7 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3538, allocations: 12.03 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.3539, allocations: 38.73 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.3539, allocations: 16.89 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.3541, allocations: 150.8 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.3542, allocations: 11.94 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.3542, allocations: 8 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.3546, allocations: 151.2 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3546, allocations: 0 / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.3547, allocations: 4 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3547, allocations: 3.984 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.3552, allocations: 159.8 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.356, allocations: 359.6 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009178/0.3569, allocations: 170.5 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.3572, allocations: 94.64 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3572, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3572, allocations: 34.55 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.3572, allocations: 4 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0009809/0.3582, allocations: 277.5 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3583, allocations: 55.41 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3584, allocations: 149.4 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.3585, allocations: 33.7 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.3585, allocations: 108 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.3586, allocations: 31.75 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.3586, allocations: 29.69 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3588, allocations: 318.8 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.3591, allocations: 79.92 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.3594, allocations: 71.92 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.36, allocations: 160.7 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.36, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006245/0.3606, allocations: 209.9 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3606, allocations: 6.188 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3606, allocations: 96 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3606, allocations: 7.938 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.3609, allocations: 39.89 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3609, allocations: 0 / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.3611, allocations: 27.91 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3611, allocations: 3.984 kB / 1.288 GB, free: 6.742 MB / 0.9825 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.0001388/0.3612, allocations: 125.8 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.3613, allocations: 15.84 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.3613, allocations: 20.7 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.3613, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3613, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3613, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.3616, allocations: 184.7 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3616, allocations: 3.938 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.3618, allocations: 39.95 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3618, allocations: 0 / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3619, allocations: 8 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3619, allocations: 3.938 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3619, allocations: 0 / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.3626, allocations: 295.3 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.3626, allocations: 27.77 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.3626, allocations: 7.938 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3628, allocations: 19.97 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3629, allocations: 27.97 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.3629, allocations: 11.98 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.377e-05/0.363, allocations: 111.2 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.363, allocations: 4 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002475/0.3633, allocations: 16 kB / 1.289 GB, free: 5.766 MB / 0.9825 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.001091/0.3644, allocations: 0.8489 MB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006233/0.365, allocations: 167.8 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.365, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.3653, allocations: 99.86 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3656, allocations: 11.98 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.3688, allocations: 1.839 MB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.369, allocations: 97.03 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.3691, allocations: 16.44 kB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3692, allocations: 55.41 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of SimCode: time 1.513e-06/0.3692, allocations: 0 / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.4013, allocations: 4.56 MB / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 5.859 kB / 1.296 GB, free: 14.11 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.632357891183347]