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.001331/0.001331, allocations: 105.7 kB / 16.45 MB, free: 6.453 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.001556/0.001556, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.308/3.308, allocations: 0.49 GB / 0.7916 GB, free: 33.22 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.00208/0.00208, allocations: 69.22 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3676, allocations: 176.1 MB / 1.321 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002922/0.3705, allocations: 1.296 MB / 1.322 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.3731, allocations: 1.736 MB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.3733, allocations: 3.938 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.907e-05/0.3734, allocations: 27.67 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.3738, allocations: 91.34 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.3756, allocations: 0.6442 MB / 1.325 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.3768, allocations: 0.7564 MB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.377, allocations: 56.7 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.3775, allocations: 299.3 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.3779, allocations: 279.1 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.3781, allocations: 76 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.3782, allocations: 76 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.3783, allocations: 79.73 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.3786, allocations: 263.1 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007845/0.3794, allocations: 0.6972 MB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3794, allocations: 0 / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.572e-06/0.3794, allocations: 0 / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.3794, allocations: 0 / 1.327 GB, free: 12.93 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.001487/0.3809, allocations: 0.8825 MB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.381, allocations: 15.98 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.381, allocations: 46.73 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.3812, allocations: 48.75 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.3827, allocations: 467.5 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.3827, allocations: 24.38 kB / 1.329 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.3828, allocations: 44.38 kB / 1.329 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.3833, allocations: 228.2 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3834, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.3834, allocations: 8 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3834, allocations: 4 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.3838, allocations: 123.8 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.3852, allocations: 0.9532 MB / 1.33 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007086/0.3859, allocations: 220 kB / 1.33 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.3862, allocations: 106.5 kB / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.3862, allocations: 0 / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005748/0.3868, allocations: 297.3 kB / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.502e-06/0.3868, allocations: 0 / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001245/0.388, allocations: 457.4 kB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.3881, allocations: 114.8 kB / 1.331 GB, free: 8.633 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.3884, allocations: 259 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.401e-05/0.3885, allocations: 53.7 kB / 1.331 GB, free: 8.309 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3887, allocations: 160.9 kB / 1.331 GB, free: 8.148 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.3888, allocations: 107.1 kB / 1.332 GB, free: 8.043 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.3891, allocations: 154 kB / 1.332 GB, free: 7.887 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3893, allocations: 346.8 kB / 1.332 GB, free: 7.539 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/0.3899, allocations: 220.9 kB / 1.332 GB, free: 7.324 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/0.3906, allocations: 388.7 kB / 1.333 GB, free: 6.875 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3916, allocations: 0.5746 MB / 1.333 GB, free: 6.223 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3916, allocations: 0 / 1.333 GB, free: 6.223 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001747/0.3933, allocations: 0.8565 MB / 1.334 GB, free: 5.324 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.3935, allocations: 186.1 kB / 1.334 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3935, allocations: 8.125 kB / 1.334 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3935, allocations: 4 kB / 1.334 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.3938, allocations: 59.83 kB / 1.334 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.3938, allocations: 11.94 kB / 1.334 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.3948, allocations: 179.8 kB / 1.334 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.349e-05/0.3949, allocations: 43.97 kB / 1.334 GB, free: 4.805 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.0002821/0.3952, allocations: 173.7 kB / 1.335 GB, free: 4.629 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.3952, allocations: 35.8 kB / 1.335 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.364e-05/0.3953, allocations: 33.8 kB / 1.335 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.3953, allocations: 8 kB / 1.335 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3953, allocations: 4 kB / 1.335 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.3953, allocations: 0 / 1.335 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.3969, allocations: 0.9185 MB / 1.336 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.397, allocations: 4 kB / 1.336 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.3972, allocations: 47.91 kB / 1.336 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.3972, allocations: 4 kB / 1.336 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.3973, allocations: 11.98 kB / 1.336 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3973, allocations: 0 / 1.336 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.3973, allocations: 4 kB / 1.336 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.3987, allocations: 0.7083 MB / 1.336 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.3988, allocations: 116.9 kB / 1.336 GB, free: 2.637 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.3988, allocations: 8 kB / 1.336 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.3991, allocations: 19.97 kB / 1.336 GB, free: 2.609 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3992, allocations: 35.95 kB / 1.337 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.3992, allocations: 19.92 kB / 1.337 GB, free: 2.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002072/0.3994, allocations: 178 kB / 1.337 GB, free: 2.379 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3994, allocations: 0 / 1.337 GB, free: 2.379 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000728/0.4002, allocations: 115.9 kB / 1.337 GB, free: 2.266 MB / 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.001889/0.402, allocations: 1.279 MB / 1.338 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.4035, allocations: 0.7461 MB / 1.339 GB, free: 144 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4035, allocations: 0 / 1.339 GB, free: 144 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003844/0.4039, allocations: 145.5 kB / 1.339 GB, free: 0 / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009091/0.4048, allocations: 113.2 kB / 1.339 GB, free: 15.89 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007443/0.4123, allocations: 4.285 MB / 1.343 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.4127, allocations: 0.7689 MB / 1.344 GB, free: 10.6 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.413, allocations: 55.27 kB / 1.344 GB, free: 10.54 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.4132, allocations: 115.4 kB / 1.344 GB, free: 10.43 MB / 1.045 GB Notification: Performance of SimCode: time 1.032e-06/0.4132, allocations: 0 / 1.344 GB, free: 10.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04143/0.4546, allocations: 9.937 MB / 1.354 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/9.305, allocations: 14.17 kB / 1.354 GB, free: 0.6602 MB / 1.045 GB " [Timeout remaining time 291] (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: 16.083744356874377]