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.008561/0.008561, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001657/0.001657, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.375/1.375, 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.735/2.735, allocations: 472.7 MB / 0.7453 GB, free: 392 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001577, allocations: 71.89 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8891/0.8907, allocations: 159.9 MB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002395/0.8932, allocations: 1.285 MB / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.8953, allocations: 1.694 MB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/0.8956, allocations: 0 / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.8958, allocations: 27.61 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.8961, allocations: 87.34 kB / 1.228 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.8979, allocations: 0.6575 MB / 1.229 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008055/0.8987, allocations: 0.7954 MB / 1.23 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.8989, allocations: 80.48 kB / 1.23 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.8992, allocations: 299.3 kB / 1.23 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.8995, allocations: 279.1 kB / 1.23 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.055e-05/0.8996, allocations: 79.94 kB / 1.23 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.8998, allocations: 83.98 kB / 1.23 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.8998, allocations: 71.75 kB / 1.231 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.9001, allocations: 263.1 kB / 1.231 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.9007, allocations: 0.7006 MB / 1.231 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9007, allocations: 0 / 1.231 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9007, allocations: 0 / 1.231 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.9007, allocations: 0 / 1.231 GB, free: 7.012 MB / 0.9512 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.001195/0.9019, allocations: 0.8748 MB / 1.232 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.9019, allocations: 8.031 kB / 1.232 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.902, allocations: 50.73 kB / 1.232 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.9021, allocations: 56.75 kB / 1.232 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.9035, allocations: 463.5 kB / 1.233 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.9035, allocations: 28.38 kB / 1.233 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.9036, allocations: 44.36 kB / 1.233 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.9041, allocations: 224.3 kB / 1.233 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.9041, allocations: 0 / 1.233 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.9041, allocations: 11.98 kB / 1.233 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.9041, allocations: 4 kB / 1.233 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.9045, allocations: 119.9 kB / 1.233 GB, free: 5 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.9056, allocations: 0.9493 MB / 1.234 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/0.9063, allocations: 228.2 kB / 1.234 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.9066, allocations: 110.5 kB / 1.235 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.9066, allocations: 7.984 kB / 1.235 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/0.9071, allocations: 302.9 kB / 1.235 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.9071, allocations: 0 / 1.235 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.001074/0.9082, allocations: 450.4 kB / 1.235 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.9083, allocations: 110.8 kB / 1.235 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.9085, allocations: 266.9 kB / 1.236 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.9086, allocations: 49.7 kB / 1.236 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.9087, allocations: 165 kB / 1.236 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.9088, allocations: 99.22 kB / 1.236 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.9091, allocations: 154 kB / 1.236 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9092, allocations: 342.8 kB / 1.236 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/0.9097, allocations: 228.8 kB / 1.237 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/0.9104, allocations: 384.7 kB / 1.237 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008716/0.9113, allocations: 0.5812 MB / 1.238 GB, free: 304 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.9113, allocations: 7.938 kB / 1.238 GB, free: 296 kB / 0.9512 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001524/0.9128, allocations: 0.842 MB / 1.238 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.9129, allocations: 186.2 kB / 1.239 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.9129, allocations: 7.938 kB / 1.239 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.913, allocations: 8 kB / 1.239 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.9132, allocations: 51.91 kB / 1.239 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.9132, allocations: 7.938 kB / 1.239 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009003/0.9141, allocations: 179.8 kB / 1.239 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.9143, allocations: 51.91 kB / 1.239 GB, free: 14.89 MB / 0.9669 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.0002314/0.9145, allocations: 168 kB / 1.239 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.9146, allocations: 35.77 kB / 1.239 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.9146, allocations: 37.8 kB / 1.239 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.9147, allocations: 4 kB / 1.239 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9147, allocations: 4 kB / 1.239 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9147, allocations: 0 / 1.239 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.9159, allocations: 0.9208 MB / 1.24 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.9159, allocations: 0 / 1.24 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.9162, allocations: 51.91 kB / 1.24 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.9162, allocations: 0 / 1.24 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.9162, allocations: 15.98 kB / 1.24 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.9162, allocations: 4 kB / 1.24 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9162, allocations: 80 / 1.24 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.9173, allocations: 0.7085 MB / 1.241 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.9174, allocations: 113 kB / 1.241 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.9174, allocations: 4 kB / 1.241 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.9177, allocations: 15.98 kB / 1.241 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.9177, allocations: 35.89 kB / 1.241 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.9178, allocations: 19.98 kB / 1.241 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001532/0.9179, allocations: 178 kB / 1.241 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9179, allocations: 0 / 1.241 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005362/0.9185, allocations: 115.9 kB / 1.241 GB, free: 12.36 MB / 0.9669 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.00142/0.9199, allocations: 1.282 MB / 1.242 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.9212, allocations: 0.8441 MB / 1.243 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9212, allocations: 0 / 1.243 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.9215, allocations: 159.4 kB / 1.243 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007752/0.9223, allocations: 113.1 kB / 1.244 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/0.9282, allocations: 4.253 MB / 1.248 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.9286, allocations: 0.7767 MB / 1.248 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002006/0.9288, allocations: 55.45 kB / 1.249 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.9289, allocations: 111.4 kB / 1.249 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of SimCode: time 9.92e-07/0.9289, allocations: 0 / 1.249 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.9609, allocations: 9.92 MB / 1.258 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/9.142, allocations: 4.891 kB / 1.258 GB, free: 10.7 MB / 0.9825 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 50 --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