Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001716/0.001716, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002585/0.002585, allocations: 220.5 kB / 23.05 MB, free: 5.074 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.838/2.838, allocations: 476.7 MB / 0.7715 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] 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.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="cs",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.002123/0.002123, allocations: 64.5 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3704, allocations: 170 MB / 1.284 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002174/0.3726, allocations: 0.7102 MB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3737, allocations: 0.8394 MB / 1.286 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.3737, allocations: 0 / 1.286 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.3738, allocations: 3.938 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.3738, allocations: 15.88 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.283e-05/0.3739, allocations: 11.98 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.924e-05/0.374, allocations: 39.86 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3741, allocations: 11.98 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.3742, allocations: 23.86 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.3743, allocations: 19.92 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.3743, allocations: 4 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.3743, allocations: 4 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.3743, allocations: 4 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.3743, allocations: 27.84 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3744, allocations: 43.39 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3745, allocations: 0 / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3745, allocations: 0 / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3745, allocations: 0 / 1.286 GB, free: 10.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005176/0.375, allocations: 278.3 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.375, allocations: 12.02 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.408e-05/0.375, allocations: 4.188 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.3751, allocations: 38.75 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.3751, allocations: 4.891 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3752, allocations: 118.4 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3752, allocations: 4.375 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3752, allocations: 384 / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.3755, allocations: 73.91 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3755, allocations: 0 / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3755, allocations: 0 / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3755, allocations: 8 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.3758, allocations: 63.92 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.3762, allocations: 236 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.3764, allocations: 58.47 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3765, allocations: 44.86 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.3765, allocations: 4 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3766, allocations: 30.56 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3766, allocations: 0 / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005514/0.3771, allocations: 133.5 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.3772, allocations: 51.41 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.3773, allocations: 113.8 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3773, allocations: 29.7 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.3773, allocations: 80.14 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.3773, allocations: 23.92 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.3774, allocations: 9.719 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3775, allocations: 322.8 kB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.3777, allocations: 27.95 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.3778, allocations: 27.97 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.3781, allocations: 72.78 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3781, allocations: 3.938 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003368/0.3785, allocations: 101.6 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3785, allocations: 4 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3785, allocations: 0 / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3785, allocations: 8.266 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3786, allocations: 15.98 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3786, allocations: 0 / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.14e-05/0.3787, allocations: 19.91 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3787, allocations: 0 / 1.288 GB, free: 7.836 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.881e-05/0.3788, allocations: 113.8 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.3788, allocations: 7.984 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.3789, allocations: 8 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3789, allocations: 4 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3789, allocations: 0 / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3789, allocations: 0 / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.379, allocations: 148.6 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.379, allocations: 0 / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.3791, allocations: 11.98 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.3791, allocations: 4 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.3791, allocations: 0 / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.3792, allocations: 4 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3792, allocations: 7.938 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.3795, allocations: 199.3 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.3795, allocations: 4 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.3796, allocations: 0 / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.3797, allocations: 11.98 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.3797, allocations: 11.98 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3797, allocations: 0 / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.822e-05/0.3798, allocations: 83.28 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3798, allocations: 0 / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002262/0.38, allocations: 11.95 kB / 1.288 GB, free: 7.145 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007033/0.3807, allocations: 0.728 MB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.381, allocations: 67.92 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.381, allocations: 4 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.3812, allocations: 35.95 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3815, allocations: 4 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.382, allocations: 151.2 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3823, allocations: 0.6845 MB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.3823, allocations: 4 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.3824, allocations: 19.38 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3824, allocations: 0 / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.4047, allocations: 1.764 MB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.74, allocations: 3.078 kB / 1.292 GB, free: 3.746 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.82117211597506]