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.001645/0.001645, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 68.55 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002607/0.305, allocations: 1.294 MB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.3073, allocations: 1.705 MB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.3075, allocations: 4 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.254e-05/0.3076, allocations: 23.67 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.3078, allocations: 83.33 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.3093, allocations: 0.6436 MB / 1.057 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007852/0.3101, allocations: 0.7955 MB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.3102, allocations: 64.72 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.3106, allocations: 291.3 kB / 1.058 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.3109, allocations: 247.1 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.3111, allocations: 72 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.3113, allocations: 91.98 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.3113, allocations: 75.69 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.3116, allocations: 255.1 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006357/0.3123, allocations: 0.6859 MB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3123, allocations: 0 / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3123, allocations: 0 / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.3123, allocations: 0 / 1.059 GB, free: 1.918 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.001328/0.3136, allocations: 0.8634 MB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3137, allocations: 12.56 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.3137, allocations: 54.73 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.3139, allocations: 52.55 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.3153, allocations: 463.3 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.3154, allocations: 28.38 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3155, allocations: 52.34 kB / 1.061 GB, free: 280 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.3159, allocations: 224.7 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.316, allocations: 0 / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.316, allocations: 15.92 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.316, allocations: 4 kB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.3164, allocations: 119.9 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.3176, allocations: 0.9608 MB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/0.3182, allocations: 228.1 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.3185, allocations: 106.5 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3186, allocations: 4 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005547/0.3191, allocations: 293.3 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.744e-06/0.3191, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001116/0.3203, allocations: 456.9 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.3203, allocations: 110.8 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.3206, allocations: 266.9 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.3207, allocations: 45.7 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3208, allocations: 160.8 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.3209, allocations: 102.6 kB / 1.064 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.3212, allocations: 150 kB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3213, allocations: 342.8 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/0.3219, allocations: 232.8 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/0.3225, allocations: 384.7 kB / 1.065 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009081/0.3235, allocations: 0.5708 MB / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3235, allocations: 0 / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001536/0.325, allocations: 0.8486 MB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.3251, allocations: 183.9 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3251, allocations: 8.312 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3252, allocations: 8 kB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.3254, allocations: 51.91 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3254, allocations: 4 kB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009338/0.3263, allocations: 179.5 kB / 1.066 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.413e-05/0.3264, allocations: 43.97 kB / 1.066 GB, free: 9.824 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.0002224/0.3267, allocations: 183.4 kB / 1.067 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.3267, allocations: 35.62 kB / 1.067 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.385e-05/0.3268, allocations: 33.8 kB / 1.067 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3268, allocations: 4 kB / 1.067 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.3268, allocations: 7.984 kB / 1.067 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.3269, allocations: 0 / 1.067 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.3281, allocations: 0.9203 MB / 1.068 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3281, allocations: 192 / 1.068 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.3284, allocations: 47.89 kB / 1.068 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3284, allocations: 7.938 kB / 1.068 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.3284, allocations: 12 kB / 1.068 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3284, allocations: 4 kB / 1.068 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.3284, allocations: 7.984 kB / 1.068 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3296, allocations: 0.7029 MB / 1.068 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.3296, allocations: 112.6 kB / 1.068 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3297, allocations: 8 kB / 1.068 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3299, allocations: 20.02 kB / 1.068 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.33, allocations: 31.91 kB / 1.069 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.33, allocations: 15.98 kB / 1.069 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000147/0.3302, allocations: 182 kB / 1.069 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3302, allocations: 4 kB / 1.069 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005098/0.3307, allocations: 111.9 kB / 1.069 GB, free: 7.281 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.001408/0.3321, allocations: 1.268 MB / 1.07 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.3334, allocations: 0.8477 MB / 1.071 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.3334, allocations: 0 / 1.071 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.3338, allocations: 163.6 kB / 1.071 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007861/0.3346, allocations: 113.8 kB / 1.071 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006027/0.3406, allocations: 4.255 MB / 1.075 GB, free: 328 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.341, allocations: 0.7728 MB / 1.076 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002438/0.3412, allocations: 55.45 kB / 1.076 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.3414, allocations: 115.4 kB / 1.076 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.3414, allocations: 0 / 1.076 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.3742, allocations: 9.827 MB / 1.086 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/8.032, allocations: 13.61 kB / 1.086 GB, free: 5.68 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