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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001282/0.001282, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001442/0.001442, allocations: 192.4 kB / 16.14 MB, free: 6.719 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.589/2.589, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 66.84 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3012, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002351/0.3036, allocations: 1.345 MB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.3057, allocations: 1.771 MB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.3059, allocations: 4 kB / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.306, allocations: 15.8 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.3062, allocations: 71.47 kB / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3075, allocations: 0.6007 MB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000633/0.3081, allocations: 0.6626 MB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.3083, allocations: 68.7 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.3087, allocations: 255.3 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.309, allocations: 219.2 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.3092, allocations: 36 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.3094, allocations: 51.98 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.3094, allocations: 63.67 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.3097, allocations: 231.1 kB / 1.057 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000564/0.3103, allocations: 0.6546 MB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3103, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.31e-07/0.3103, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3103, allocations: 0 / 1.058 GB, free: 2.176 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.001289/0.3116, allocations: 0.8633 MB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3117, allocations: 11.97 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.3117, allocations: 50.72 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.3119, allocations: 48.56 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.3133, allocations: 475.2 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/0.3133, allocations: 32.36 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.3134, allocations: 44.36 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.3138, allocations: 228.2 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3139, allocations: 0 / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3139, allocations: 4 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3139, allocations: 4 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.3142, allocations: 119.9 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.3155, allocations: 0.9608 MB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.3161, allocations: 224.2 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.3164, allocations: 110.5 kB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.3164, allocations: 8 kB / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005971/0.317, allocations: 289.3 kB / 1.061 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.333e-06/0.317, allocations: 0 / 1.061 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.00109/0.3181, allocations: 455.2 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.3182, allocations: 114.8 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.3185, allocations: 258.9 kB / 1.062 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-05/0.3185, allocations: 57.62 kB / 1.062 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.3187, allocations: 160.8 kB / 1.062 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.984e-05/0.3188, allocations: 98.61 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.319, allocations: 150 kB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3191, allocations: 350.8 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.3196, allocations: 224.8 kB / 1.063 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.3203, allocations: 387.4 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008894/0.3212, allocations: 0.5731 MB / 1.064 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3212, allocations: 0 / 1.064 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001457/0.3226, allocations: 0.8387 MB / 1.065 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.3227, allocations: 190.6 kB / 1.065 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3228, allocations: 12.12 kB / 1.065 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3228, allocations: 4 kB / 1.065 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.323, allocations: 55.83 kB / 1.065 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.323, allocations: 7.938 kB / 1.065 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.3239, allocations: 175.5 kB / 1.065 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.905e-05/0.324, allocations: 51.95 kB / 1.065 GB, free: 10.08 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.0002005/0.3242, allocations: 167.5 kB / 1.066 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.3242, allocations: 35.61 kB / 1.066 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.3243, allocations: 37.81 kB / 1.066 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3243, allocations: 4 kB / 1.066 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3243, allocations: 0 / 1.066 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.3244, allocations: 11.97 kB / 1.066 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.3256, allocations: 0.9144 MB / 1.067 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3256, allocations: 4 kB / 1.067 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.3258, allocations: 43.91 kB / 1.067 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3258, allocations: 0 / 1.067 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.3259, allocations: 23.98 kB / 1.067 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3259, allocations: 3.938 kB / 1.067 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3259, allocations: 0 / 1.067 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3269, allocations: 0.7096 MB / 1.067 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.327, allocations: 104.7 kB / 1.067 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.327, allocations: 16.03 kB / 1.067 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.3273, allocations: 11.98 kB / 1.068 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.3274, allocations: 27.95 kB / 1.068 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.3274, allocations: 16 kB / 1.068 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001449/0.3275, allocations: 186 kB / 1.068 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3275, allocations: 0 / 1.068 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004967/0.328, allocations: 115.9 kB / 1.068 GB, free: 7.559 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.001428/0.3295, allocations: 1.281 MB / 1.069 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.3307, allocations: 0.8339 MB / 1.07 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3307, allocations: 0 / 1.07 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.331, allocations: 164 kB / 1.07 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.3317, allocations: 112.9 kB / 1.07 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005883/0.3376, allocations: 4.315 MB / 1.074 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.338, allocations: 0.773 MB / 1.075 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.3382, allocations: 55.27 kB / 1.075 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.3384, allocations: 111.4 kB / 1.075 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.3384, allocations: 0 / 1.075 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.3598, allocations: 9.387 MB / 1.084 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.36, allocations: 203.7 kB / 1.085 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.137, allocations: 0 / 1.085 GB, free: 6.109 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