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.0009768/0.0009768, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.001329/0.001329, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.516/2.516, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 15.98 kB / 0.873 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7049/0.7052, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001482/0.7067, allocations: 0.9852 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.7091, allocations: 1.772 MB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.7093, allocations: 4 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.909e-05/0.7094, allocations: 11.88 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.7096, allocations: 63.48 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.711, allocations: 0.6015 MB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006636/0.7117, allocations: 0.6626 MB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.7119, allocations: 68.64 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.7123, allocations: 247.3 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.7126, allocations: 215.2 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.7127, allocations: 32 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.7128, allocations: 51.97 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.7129, allocations: 55.7 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.7132, allocations: 248.8 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006288/0.7138, allocations: 0.6408 MB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7138, allocations: 0 / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7138, allocations: 0 / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.799e-05/0.7139, allocations: 0 / 1.029 GB, free: 10.17 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.001343/0.7152, allocations: 0.7931 MB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.7153, allocations: 12.03 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.282e-05/0.7154, allocations: 50.72 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.7156, allocations: 48.56 kB / 1.03 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.7172, allocations: 475.3 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/0.7173, allocations: 32.36 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.7174, allocations: 48.38 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.718, allocations: 225.1 kB / 1.03 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.718, allocations: 0 / 1.03 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.718, allocations: 8 kB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.718, allocations: 0 / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.7184, allocations: 123.9 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.7197, allocations: 0.953 MB / 1.031 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007381/0.7205, allocations: 244 kB / 1.032 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.7208, allocations: 102.5 kB / 1.032 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.7208, allocations: 7.984 kB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005476/0.7214, allocations: 289.3 kB / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.7214, allocations: 0 / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001187/0.7226, allocations: 451.5 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.7227, allocations: 122.7 kB / 1.033 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.7229, allocations: 258.9 kB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.301e-05/0.723, allocations: 49.69 kB / 1.033 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.7232, allocations: 156.9 kB / 1.033 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.531e-05/0.7233, allocations: 106.5 kB / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.7235, allocations: 69.69 kB / 1.033 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7236, allocations: 338.8 kB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.7242, allocations: 224.8 kB / 1.034 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.7248, allocations: 388.6 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/0.7258, allocations: 0.5755 MB / 1.035 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.7258, allocations: 8 kB / 1.035 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00163/0.7275, allocations: 0.8324 MB / 1.035 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.7276, allocations: 194.1 kB / 1.036 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.7276, allocations: 7.938 kB / 1.036 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.7277, allocations: 8 kB / 1.036 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.7279, allocations: 51.89 kB / 1.036 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.7279, allocations: 11.94 kB / 1.036 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.729, allocations: 231.5 kB / 1.036 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/0.7291, allocations: 51.95 kB / 1.036 GB, free: 2.164 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.0002555/0.7293, allocations: 164.1 kB / 1.036 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.7294, allocations: 39.61 kB / 1.036 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.944e-05/0.7295, allocations: 33.81 kB / 1.036 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.7295, allocations: 4 kB / 1.036 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.7295, allocations: 0 / 1.036 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.7295, allocations: 7.984 kB / 1.036 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.7309, allocations: 0.9269 MB / 1.037 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7309, allocations: 4 kB / 1.037 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.7311, allocations: 43.91 kB / 1.037 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.7311, allocations: 0 / 1.037 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.7312, allocations: 15.98 kB / 1.037 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.7312, allocations: 8 kB / 1.037 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7312, allocations: 80 / 1.037 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.7323, allocations: 0.7134 MB / 1.038 GB, free: 128 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.7324, allocations: 108.7 kB / 1.038 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.7325, allocations: 12.03 kB / 1.038 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.7327, allocations: 11.98 kB / 1.038 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.7328, allocations: 31.95 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.7328, allocations: 19.92 kB / 1.038 GB, free: 15.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001655/0.733, allocations: 182 kB / 1.038 GB, free: 15.74 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.733, allocations: 0 / 1.038 GB, free: 15.74 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005354/0.7336, allocations: 112 kB / 1.038 GB, free: 15.63 MB / 0.795 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.001424/0.735, allocations: 1.265 MB / 1.04 GB, free: 14.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.7363, allocations: 0.8399 MB / 1.04 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7363, allocations: 0 / 1.04 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.7366, allocations: 155.8 kB / 1.041 GB, free: 13.27 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007995/0.7374, allocations: 102.7 kB / 1.041 GB, free: 13.17 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/0.7437, allocations: 4.344 MB / 1.045 GB, free: 8.625 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.7441, allocations: 0.7728 MB / 1.046 GB, free: 7.828 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002505/0.7444, allocations: 59.44 kB / 1.046 GB, free: 7.766 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.7445, allocations: 115.4 kB / 1.046 GB, free: 7.652 MB / 0.795 GB Notification: Performance of SimCode: time 1.874e-06/0.7445, allocations: 0 / 1.046 GB, free: 7.652 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.7652, allocations: 9.319 MB / 1.055 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.7655, allocations: 193.3 kB / 1.055 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.64, allocations: 3.75 kB / 1.055 GB, free: 14.3 MB / 0.8106 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