Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 189.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.322/2.322, allocations: 461.9 MB / 0.7343 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 71.45 kB / 0.8987 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.297, allocations: 157.4 MB / 1.052 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002173/0.2992, allocations: 1.334 MB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.3009, allocations: 1.708 MB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.301, allocations: 0 / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.847e-05/0.3011, allocations: 11.81 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.3013, allocations: 59.55 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.3024, allocations: 0.6056 MB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006141/0.303, allocations: 0.7916 MB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3032, allocations: 68.66 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.3034, allocations: 303.2 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.3037, allocations: 243.1 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.172e-05/0.3038, allocations: 72 kB / 1.058 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3039, allocations: 83.98 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.304, allocations: 75.77 kB / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.3042, allocations: 263.1 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.3047, allocations: 0.6898 MB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.3047, allocations: 0 / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3047, allocations: 0 / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3047, allocations: 0 / 1.059 GB, free: 2.25 MB / 0.8106 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.001138/0.3059, allocations: 0.8634 MB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3059, allocations: 8.625 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.048e-05/0.306, allocations: 50.73 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3061, allocations: 52.5 kB / 1.06 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.3074, allocations: 463.2 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.3075, allocations: 28.38 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.3076, allocations: 48.36 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.308, allocations: 228.7 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.308, allocations: 0 / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.3081, allocations: 11.98 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3081, allocations: 4 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.3084, allocations: 119.9 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.3095, allocations: 0.957 MB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.3101, allocations: 232.1 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.3104, allocations: 102.5 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.3104, allocations: 4 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000519/0.3109, allocations: 301.2 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.784e-06/0.3109, allocations: 0 / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001043/0.312, allocations: 459.3 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.3121, allocations: 114.8 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.3123, allocations: 262.9 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-05/0.3124, allocations: 45.7 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3125, allocations: 156.9 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.3126, allocations: 106.6 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.3128, allocations: 154 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.313, allocations: 346.7 kB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.3135, allocations: 228.8 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.3141, allocations: 384.7 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/0.3149, allocations: 0.5697 MB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3149, allocations: 0 / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001438/0.3164, allocations: 0.8441 MB / 1.065 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.9e-05/0.3165, allocations: 182.2 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3165, allocations: 7.938 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3165, allocations: 4.375 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.3167, allocations: 59.84 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3167, allocations: 8 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/0.3176, allocations: 183.5 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/0.3177, allocations: 39.97 kB / 1.066 GB, free: 10.16 MB / 0.8262 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.0002047/0.3179, allocations: 183.4 kB / 1.066 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.318, allocations: 35.62 kB / 1.066 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.318, allocations: 33.8 kB / 1.066 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.318, allocations: 8 kB / 1.066 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.318, allocations: 0 / 1.066 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3181, allocations: 0 / 1.066 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3192, allocations: 0.9183 MB / 1.067 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3192, allocations: 0 / 1.067 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.3195, allocations: 47.89 kB / 1.067 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.3195, allocations: 4 kB / 1.067 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.3195, allocations: 8 kB / 1.067 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3195, allocations: 0 / 1.067 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3195, allocations: 11.94 kB / 1.067 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3205, allocations: 0.7157 MB / 1.068 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.3206, allocations: 104.7 kB / 1.068 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.3207, allocations: 8 kB / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.3209, allocations: 20.02 kB / 1.068 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.321, allocations: 27.97 kB / 1.068 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.321, allocations: 20.17 kB / 1.068 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001501/0.3212, allocations: 182 kB / 1.068 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3212, allocations: 7.938 kB / 1.068 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004831/0.3217, allocations: 111.9 kB / 1.068 GB, free: 7.629 MB / 0.8262 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.001346/0.323, allocations: 1.272 MB / 1.07 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.3242, allocations: 0.8479 MB / 1.07 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3242, allocations: 3.938 kB / 1.07 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.3245, allocations: 156.8 kB / 1.071 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.3253, allocations: 113.8 kB / 1.071 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005716/0.331, allocations: 4.332 MB / 1.075 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3313, allocations: 0.7728 MB / 1.076 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.3315, allocations: 55.44 kB / 1.076 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.3317, allocations: 115.4 kB / 1.076 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.3317, allocations: 0 / 1.076 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6453/0.977, allocations: 9.706 MB / 1.085 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.9772, allocations: 218.3 kB / 1.085 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.935, allocations: 1.688 kB / 1.085 GB, free: 5.859 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches