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.001535/0.001535, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001889/0.001889, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.517/1.517, 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.85/2.85, allocations: 476.7 MB / 0.7707 GB, free: 4.238 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.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",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.002072/0.002072, allocations: 65.25 kB / 1.117 GB, free: 39.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4128, allocations: 170 MB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002183/0.415, allocations: 0.7041 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.4162, allocations: 0.8394 MB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.4162, allocations: 4 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.4163, allocations: 3.938 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.935e-05/0.4163, allocations: 3.938 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.398e-05/0.4164, allocations: 15.97 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.531e-05/0.4165, allocations: 39.92 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4166, allocations: 11.97 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.734e-05/0.4167, allocations: 15.94 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.266e-05/0.4167, allocations: 27.91 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.4168, allocations: 4 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.168e-06/0.4168, allocations: 4 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.4168, allocations: 7.938 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.4168, allocations: 19.86 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.4169, allocations: 43.39 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4169, allocations: 0 / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4169, allocations: 0 / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.417, allocations: 0 / 1.285 GB, free: 9.562 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.0005557/0.4175, allocations: 292.1 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4176, allocations: 8.031 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.4176, allocations: 34.75 kB / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.4176, allocations: 4.938 kB / 1.285 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.4177, allocations: 122.4 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.4177, allocations: 384 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.4178, allocations: 384 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.418, allocations: 74.22 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.418, allocations: 19.8 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.418, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.418, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.4183, allocations: 63.92 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.4187, allocations: 236 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.4189, allocations: 54.55 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.4191, allocations: 48.84 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.4191, allocations: 0 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.4191, allocations: 30.56 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.4191, allocations: 4 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005229/0.4196, allocations: 133.5 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.4197, allocations: 51.41 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.4198, allocations: 109.8 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.4198, allocations: 25.7 kB / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.4199, allocations: 88.14 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.4199, allocations: 11.95 kB / 1.286 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.4199, allocations: 9.719 kB / 1.286 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4201, allocations: 322.8 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.4202, allocations: 27.91 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.4204, allocations: 35.95 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.4207, allocations: 68.73 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4207, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003181/0.421, allocations: 105.6 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.421, allocations: 10.5 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.421, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.421, allocations: 4 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.4212, allocations: 11.98 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4212, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.999e-05/0.4212, allocations: 19.86 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.4212, allocations: 0 / 1.287 GB, free: 7.383 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 0.000106/0.4214, allocations: 117.8 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.4214, allocations: 7.984 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.4214, allocations: 8 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4214, allocations: 0 / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4214, allocations: 0 / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4214, allocations: 0 / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.4216, allocations: 148.6 kB / 1.287 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4216, allocations: 336 / 1.287 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-05/0.4217, allocations: 19.97 kB / 1.287 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4217, allocations: 0 / 1.287 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.4217, allocations: 4 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4217, allocations: 0 / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4217, allocations: 4.312 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.4221, allocations: 199.3 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.4221, allocations: 7.953 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.4222, allocations: 4 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4223, allocations: 15.97 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.4223, allocations: 4 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.4223, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.011e-05/0.4224, allocations: 91.25 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4224, allocations: 0 / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002446/0.4226, allocations: 8 kB / 1.288 GB, free: 6.684 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.0007483/0.4234, allocations: 0.728 MB / 1.288 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.4237, allocations: 75.86 kB / 1.288 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4237, allocations: 0 / 1.288 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.4239, allocations: 31.97 kB / 1.288 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.4242, allocations: 7.984 kB / 1.288 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.4247, allocations: 149.1 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.4251, allocations: 0.6846 MB / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.4251, allocations: 3.984 kB / 1.289 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.4252, allocations: 15.44 kB / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4252, allocations: 0 / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.4566, allocations: 1.732 MB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.65, allocations: 0 / 1.291 GB, free: 3.305 MB / 0.9825 GB " [Timeout remaining time 288] (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.53406752203591]