Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_10_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.02539/0.02539, allocations: 101.6 kB / 15.73 MB, free: 6.066 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.003993/0.003993, allocations: 196.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.552/2.552, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.279/4.279, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002978/0.002978, allocations: 71.89 kB / 1.018 GB, free: 9.805 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323/1.326, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002906/1.329, allocations: 1.299 MB / 1.167 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00287/1.332, allocations: 1.693 MB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/1.332, allocations: 3.938 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/1.333, allocations: 23.67 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002932/1.333, allocations: 87.33 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/1.335, allocations: 0.6436 MB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001049/1.336, allocations: 0.7953 MB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/1.336, allocations: 68.72 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004147/1.336, allocations: 295.3 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004276/1.337, allocations: 283.1 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/1.337, allocations: 72 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/1.337, allocations: 87.98 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/1.337, allocations: 71.75 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004116/1.338, allocations: 263.1 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009983/1.339, allocations: 0.6928 MB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.339, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.811e-06/1.339, allocations: 4 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.034e-05/1.339, allocations: 3.938 kB / 1.172 GB, free: 13.38 MB / 0.9044 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.001677/1.34, allocations: 0.8748 MB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/1.341, allocations: 8.922 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.326e-05/1.341, allocations: 50.73 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/1.341, allocations: 48.75 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/1.342, allocations: 467.5 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.401e-05/1.342, allocations: 32.23 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.343, allocations: 40.38 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/1.343, allocations: 229.5 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/1.343, allocations: 0 / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/1.343, allocations: 4 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/1.343, allocations: 4 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/1.344, allocations: 127.9 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/1.345, allocations: 0.9493 MB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007455/1.346, allocations: 228.2 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/1.346, allocations: 114.5 kB / 1.176 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/1.346, allocations: 4 kB / 1.176 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007024/1.347, allocations: 287.3 kB / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 2.594e-06/1.347, allocations: 3.938 kB / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001375/1.348, allocations: 459.3 kB / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.349, allocations: 110.8 kB / 1.176 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/1.349, allocations: 266.9 kB / 1.177 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.498e-05/1.349, allocations: 49.7 kB / 1.177 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/1.349, allocations: 153 kB / 1.177 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/1.349, allocations: 111.2 kB / 1.177 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/1.35, allocations: 158 kB / 1.177 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002216/1.35, allocations: 338.8 kB / 1.177 GB, free: 8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/1.351, allocations: 224.9 kB / 1.178 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/1.351, allocations: 396.6 kB / 1.178 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/1.352, allocations: 0.5751 MB / 1.179 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.352, allocations: 0 / 1.179 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00181/1.354, allocations: 0.8463 MB / 1.179 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001704/1.354, allocations: 182.2 kB / 1.18 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/1.354, allocations: 7.938 kB / 1.18 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/1.354, allocations: 4 kB / 1.18 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/1.355, allocations: 55.89 kB / 1.18 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/1.355, allocations: 12.19 kB / 1.18 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000991/1.356, allocations: 183.8 kB / 1.18 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-05/1.356, allocations: 47.89 kB / 1.18 GB, free: 5.262 MB / 0.9044 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.0003031/1.356, allocations: 167.5 kB / 1.18 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/1.356, allocations: 43.69 kB / 1.18 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/1.356, allocations: 33.8 kB / 1.18 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.356, allocations: 11.98 kB / 1.18 GB, free: 5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.356, allocations: 4 kB / 1.18 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.356, allocations: 0 / 1.18 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/1.358, allocations: 0.9224 MB / 1.181 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.358, allocations: 4 kB / 1.181 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/1.358, allocations: 43.91 kB / 1.181 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.358, allocations: 4 kB / 1.181 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/1.358, allocations: 11.98 kB / 1.181 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.358, allocations: 0 / 1.181 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.358, allocations: 4 kB / 1.181 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/1.36, allocations: 0.7132 MB / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/1.36, allocations: 109 kB / 1.182 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/1.36, allocations: 8 kB / 1.182 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/1.36, allocations: 19.98 kB / 1.182 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/1.36, allocations: 35.89 kB / 1.182 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/1.36, allocations: 15.98 kB / 1.182 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002096/1.36, allocations: 174 kB / 1.182 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.36, allocations: 4 kB / 1.182 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005868/1.361, allocations: 108 kB / 1.182 GB, free: 2.734 MB / 0.9044 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.001905/1.363, allocations: 1.288 MB / 1.183 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001977/1.365, allocations: 0.8279 MB / 1.184 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.365, allocations: 0.75 kB / 1.184 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/1.365, allocations: 163.7 kB / 1.184 GB, free: 364 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009084/1.366, allocations: 109.1 kB / 1.185 GB, free: 252 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007415/1.374, allocations: 4.269 MB / 1.189 GB, free: 11.78 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/1.374, allocations: 0.7689 MB / 1.189 GB, free: 10.98 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002479/1.374, allocations: 55.44 kB / 1.189 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/1.375, allocations: 111.4 kB / 1.19 GB, free: 10.82 MB / 0.92 GB Notification: Performance of SimCode: time 1.242e-06/1.375, allocations: 0 / 1.19 GB, free: 10.82 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04165/1.416, allocations: 9.915 MB / 1.199 GB, free: 1.07 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/14.45, allocations: 12.36 kB / 1.199 GB, free: 1.059 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches