Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.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.001278/0.001278, 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.001437/0.001437, allocations: 220 kB / 22.25 MB, free: 5.25 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.801 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.217/3.217, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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.Reals.Validation.Ramp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",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.002133/0.002133, allocations: 72.44 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3776, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002643/0.3802, allocations: 1.21 MB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.3828, allocations: 1.72 MB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.3829, allocations: 4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.362e-05/0.383, allocations: 19.69 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.3832, allocations: 91.33 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.3848, allocations: 0.6476 MB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008651/0.3857, allocations: 0.7564 MB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.3858, allocations: 52.91 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.3862, allocations: 299.4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.3866, allocations: 287 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.3867, allocations: 68 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3868, allocations: 84 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-05/0.3869, allocations: 75.75 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.3872, allocations: 239.2 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.388, allocations: 0.6973 MB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.388, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.82e-07/0.388, allocations: 4 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.388, allocations: 4 kB / 1.332 GB, free: 11.23 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001531/0.3895, allocations: 0.8614 MB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3896, allocations: 12.02 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.531e-05/0.3896, allocations: 46.73 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.3898, allocations: 48.75 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.3913, allocations: 400.9 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.3913, allocations: 28.38 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.3914, allocations: 44.36 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.3919, allocations: 224.2 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3919, allocations: 0 / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.392, allocations: 11.98 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.392, allocations: 3.938 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.3923, allocations: 123.9 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.3936, allocations: 0.8237 MB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/0.3943, allocations: 212.1 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.3946, allocations: 106.5 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3946, allocations: 4 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006037/0.3952, allocations: 301.6 kB / 1.335 GB, free: 7.773 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.773e-06/0.3952, allocations: 0 / 1.335 GB, free: 7.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001286/0.3965, allocations: 469.1 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.742e-05/0.3966, allocations: 110.8 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.3969, allocations: 272.1 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.397, allocations: 45.7 kB / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.3972, allocations: 157 kB / 1.336 GB, free: 6.695 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.482e-05/0.3973, allocations: 103.2 kB / 1.336 GB, free: 6.594 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.3976, allocations: 154 kB / 1.336 GB, free: 6.438 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3977, allocations: 346.8 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007255/0.3985, allocations: 415 kB / 1.337 GB, free: 5.645 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009574/0.3994, allocations: 0.7657 MB / 1.338 GB, free: 4.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009912/0.4004, allocations: 0.5784 MB / 1.338 GB, free: 4.066 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4004, allocations: 0 / 1.338 GB, free: 4.066 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002009/0.4024, allocations: 1.037 MB / 1.339 GB, free: 2.949 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.4026, allocations: 190.2 kB / 1.34 GB, free: 2.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4026, allocations: 4.312 kB / 1.34 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4026, allocations: 12 kB / 1.34 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.4028, allocations: 55.84 kB / 1.34 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.4029, allocations: 4 kB / 1.34 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.4039, allocations: 175.6 kB / 1.34 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.851e-05/0.404, allocations: 47.97 kB / 1.34 GB, free: 2.434 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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.0002631/0.4043, allocations: 168 kB / 1.34 GB, free: 2.262 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.4044, allocations: 39.77 kB / 1.34 GB, free: 2.223 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.614e-05/0.4045, allocations: 41.73 kB / 1.34 GB, free: 2.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4045, allocations: 4 kB / 1.34 GB, free: 2.176 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4045, allocations: 0 / 1.34 GB, free: 2.176 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.4045, allocations: 4 kB / 1.34 GB, free: 2.172 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.406, allocations: 0.8658 MB / 1.341 GB, free: 1.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.406, allocations: 8 kB / 1.341 GB, free: 1.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.4063, allocations: 48.08 kB / 1.341 GB, free: 1.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4063, allocations: 0 / 1.341 GB, free: 1.199 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.4063, allocations: 15.94 kB / 1.341 GB, free: 1.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4063, allocations: 3.984 kB / 1.341 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.4063, allocations: 3.938 kB / 1.341 GB, free: 1.176 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.4076, allocations: 0.7086 MB / 1.342 GB, free: 460 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.4076, allocations: 27.77 kB / 1.342 GB, free: 432 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.4077, allocations: 8 kB / 1.342 GB, free: 424 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.4079, allocations: 20.02 kB / 1.342 GB, free: 404 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.408, allocations: 31.95 kB / 1.342 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.408, allocations: 15.98 kB / 1.342 GB, free: 356 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001821/0.4082, allocations: 179.1 kB / 1.342 GB, free: 180 kB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4082, allocations: 4 kB / 1.342 GB, free: 176 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006166/0.4088, allocations: 115.9 kB / 1.342 GB, free: 60 kB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00166/0.4105, allocations: 1.269 MB / 1.343 GB, free: 14.76 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.4121, allocations: 0.9459 MB / 1.344 GB, free: 13.71 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4121, allocations: 0 / 1.344 GB, free: 13.71 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.4125, allocations: 140.5 kB / 1.344 GB, free: 13.57 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/0.4134, allocations: 113.4 kB / 1.345 GB, free: 13.46 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008058/0.4215, allocations: 5.032 MB / 1.349 GB, free: 8.062 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.4217, allocations: 164.9 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002573/0.4219, allocations: 55.25 kB / 1.35 GB, free: 7.82 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.4222, allocations: 115.4 kB / 1.35 GB, free: 7.707 MB / 1.045 GB Notification: Performance of SimCode: time 8.52e-07/0.4222, allocations: 0 / 1.35 GB, free: 7.707 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04432/0.4665, allocations: 11.49 MB / 1.361 GB, free: 12.53 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.18, allocations: 2.266 kB / 1.361 GB, free: 12.53 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.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.997922893002396]