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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001238/0.001237, 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.00125/0.00125, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.35/2.35, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5417/0.543, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002294/0.5453, allocations: 1.346 MB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.5473, allocations: 1.779 MB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.5474, allocations: 4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.193e-05/0.5474, allocations: 11.86 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.5476, allocations: 75.47 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.5488, allocations: 0.5905 MB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.5493, allocations: 0.6665 MB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.5494, allocations: 68.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.5497, allocations: 255.3 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.5499, allocations: 223.2 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.738e-05/0.55, allocations: 36 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.5501, allocations: 43.98 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.5502, allocations: 71.69 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.5504, allocations: 227.1 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.551, allocations: 0.6526 MB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.551, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.92e-07/0.551, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.551, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 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.001196/0.5522, allocations: 0.8787 MB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5523, allocations: 12.03 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.5523, allocations: 46.73 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.5525, allocations: 56.48 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.5538, allocations: 463.2 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.5539, allocations: 32.36 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.554, allocations: 44.38 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.5544, allocations: 221.1 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5544, allocations: 7.969 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.5545, allocations: 8 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.5545, allocations: 4 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.5548, allocations: 127.8 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.556, allocations: 0.9491 MB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.5566, allocations: 240.1 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.5569, allocations: 98.53 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.5569, allocations: 7.984 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000495/0.5574, allocations: 293.3 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.5574, allocations: 0 / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001071/0.5585, allocations: 445.1 kB / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.5586, allocations: 118.8 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.5588, allocations: 262.9 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/0.5589, allocations: 45.7 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.559, allocations: 168.8 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.5591, allocations: 102.5 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.5593, allocations: 150.1 kB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5595, allocations: 346.7 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.56, allocations: 228.8 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.5606, allocations: 380.7 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/0.5614, allocations: 0.5747 MB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.5614, allocations: 4 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001432/0.5629, allocations: 0.8426 MB / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.639e-05/0.563, allocations: 182.2 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.563, allocations: 7.938 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.563, allocations: 4.375 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.5632, allocations: 59.91 kB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.5632, allocations: 19.98 kB / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008562/0.5641, allocations: 175.5 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/0.5642, allocations: 39.97 kB / 1.03 GB, free: 4.633 MB / 0.7794 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.0001847/0.5644, allocations: 172 kB / 1.03 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.5644, allocations: 35.62 kB / 1.03 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.5645, allocations: 37.8 kB / 1.03 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5645, allocations: 4 kB / 1.03 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5645, allocations: 0 / 1.03 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.5645, allocations: 3.984 kB / 1.03 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.5657, allocations: 0.9211 MB / 1.031 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5657, allocations: 0 / 1.031 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.566, allocations: 47.89 kB / 1.031 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.566, allocations: 4 kB / 1.031 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.566, allocations: 12.17 kB / 1.031 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.566, allocations: 4 kB / 1.031 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.566, allocations: 11.92 kB / 1.031 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.5671, allocations: 0.7156 MB / 1.032 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.5672, allocations: 104.7 kB / 1.032 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.5672, allocations: 12.03 kB / 1.032 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.5675, allocations: 15.98 kB / 1.032 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.5675, allocations: 27.97 kB / 1.032 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.5676, allocations: 15.98 kB / 1.032 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001501/0.5677, allocations: 182 kB / 1.032 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5677, allocations: 0 / 1.032 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004799/0.5682, allocations: 112 kB / 1.032 GB, free: 2.102 MB / 0.7794 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.001374/0.5696, allocations: 1.272 MB / 1.034 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.5708, allocations: 0.8362 MB / 1.034 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5708, allocations: 7.938 kB / 1.034 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.5712, allocations: 157.5 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007297/0.5719, allocations: 105.6 kB / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.5777, allocations: 4.325 MB / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.5781, allocations: 0.7767 MB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.5783, allocations: 51.28 kB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.5784, allocations: 119.4 kB / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.5784, allocations: 4 kB / 1.04 GB, free: 10.12 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.5978, allocations: 9.383 MB / 1.049 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.598, allocations: 197.3 kB / 1.049 GB, free: 0.668 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.383, allocations: 0 / 1.049 GB, free: 0.668 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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