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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004573/0.004573, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00128/0.00128, allocations: 200.4 kB / 16.68 MB, free: 5.934 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 482.4 MB / 0.7548 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.12 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 162.2 MB / 1.242 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002393/0.3079, allocations: 1.285 MB / 1.243 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.3101, allocations: 1.69 MB / 1.244 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.3102, allocations: 0 / 1.244 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.698e-05/0.3103, allocations: 27.67 kB / 1.244 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.3105, allocations: 83.33 kB / 1.245 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.3118, allocations: 0.6483 MB / 1.245 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008123/0.3127, allocations: 0.7877 MB / 1.246 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.3128, allocations: 74.11 kB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.3132, allocations: 299.3 kB / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.3136, allocations: 279 kB / 1.247 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.3137, allocations: 72 kB / 1.247 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.3139, allocations: 91.97 kB / 1.247 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.314, allocations: 71.75 kB / 1.247 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.3143, allocations: 259.1 kB / 1.247 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007133/0.315, allocations: 0.6933 MB / 1.248 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.315, allocations: 0 / 1.248 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.315, allocations: 4 kB / 1.248 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.315, allocations: 4 kB / 1.248 GB, free: 2.934 MB / 0.9669 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.001405/0.3164, allocations: 0.8787 MB / 1.249 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3165, allocations: 11.97 kB / 1.249 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.803e-05/0.3165, allocations: 50.72 kB / 1.249 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.3167, allocations: 48.75 kB / 1.249 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.3182, allocations: 471.4 kB / 1.249 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.3182, allocations: 36.36 kB / 1.249 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.06e-05/0.3183, allocations: 40.38 kB / 1.249 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.3188, allocations: 222.1 kB / 1.249 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3188, allocations: 0 / 1.249 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.3189, allocations: 4 kB / 1.249 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3189, allocations: 8 kB / 1.249 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.3193, allocations: 123.9 kB / 1.25 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.3205, allocations: 0.961 MB / 1.25 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/0.3212, allocations: 228.1 kB / 1.251 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.3215, allocations: 106.5 kB / 1.251 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.3216, allocations: 4 kB / 1.251 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005855/0.3222, allocations: 285.6 kB / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.3222, allocations: 0 / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001192/0.3234, allocations: 453.8 kB / 1.252 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.3235, allocations: 122.7 kB / 1.252 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.3237, allocations: 263 kB / 1.252 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/0.3238, allocations: 45.7 kB / 1.252 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.324, allocations: 153 kB / 1.252 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/0.3241, allocations: 115 kB / 1.252 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.3244, allocations: 158 kB / 1.252 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3245, allocations: 338.8 kB / 1.253 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/0.3251, allocations: 228.9 kB / 1.253 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007046/0.3258, allocations: 388.6 kB / 1.253 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009881/0.3268, allocations: 0.5766 MB / 1.254 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3268, allocations: 0 / 1.254 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001697/0.3285, allocations: 0.8404 MB / 1.255 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.3287, allocations: 182.2 kB / 1.255 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3287, allocations: 7.938 kB / 1.255 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3287, allocations: 4.375 kB / 1.255 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.329, allocations: 63.83 kB / 1.255 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.329, allocations: 8 kB / 1.255 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009685/0.3299, allocations: 175.6 kB / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/0.33, allocations: 43.95 kB / 1.255 GB, free: 10.82 MB / 0.9825 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.0002119/0.3303, allocations: 172 kB / 1.255 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.3303, allocations: 43.75 kB / 1.255 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.905e-05/0.3304, allocations: 29.81 kB / 1.255 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.3304, allocations: 11.98 kB / 1.255 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3304, allocations: 3.984 kB / 1.255 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.3304, allocations: 0 / 1.255 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.3318, allocations: 0.9287 MB / 1.256 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3319, allocations: 0 / 1.256 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.3321, allocations: 43.91 kB / 1.256 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3321, allocations: 4 kB / 1.256 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.3322, allocations: 11.98 kB / 1.256 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3322, allocations: 4 kB / 1.256 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3322, allocations: 8.016 kB / 1.256 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3334, allocations: 0.7139 MB / 1.257 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.3335, allocations: 108.9 kB / 1.257 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.3336, allocations: 12.03 kB / 1.257 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.3338, allocations: 15.98 kB / 1.257 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.3339, allocations: 31.95 kB / 1.257 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.3339, allocations: 16 kB / 1.257 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001751/0.3341, allocations: 178 kB / 1.257 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3341, allocations: 0 / 1.257 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005148/0.3346, allocations: 112 kB / 1.257 GB, free: 8.281 MB / 0.9825 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.001619/0.3363, allocations: 1.284 MB / 1.259 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.3376, allocations: 0.8365 MB / 1.26 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3377, allocations: 0 / 1.26 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.3381, allocations: 155.8 kB / 1.26 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.3389, allocations: 106 kB / 1.26 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006579/0.3454, allocations: 4.282 MB / 1.264 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.3459, allocations: 0.7726 MB / 1.265 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.3461, allocations: 51.45 kB / 1.265 GB, free: 464 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.3463, allocations: 115.4 kB / 1.265 GB, free: 348 kB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3463, allocations: 0 / 1.265 GB, free: 348 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/0.381, allocations: 9.911 MB / 1.275 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/8.61, allocations: 9.641 kB / 1.275 GB, free: 6.602 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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