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.001266/0.001266, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001338/0.001338, allocations: 194.9 kB / 16.26 MB, free: 6.625 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 63.91 kB / 0.8689 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/0.7098, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002687/0.7125, allocations: 1.351 MB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.7148, allocations: 1.682 MB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.715, allocations: 7.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.113e-05/0.7151, allocations: 15.8 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.7154, allocations: 67.53 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.7168, allocations: 0.5976 MB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.7176, allocations: 0.7953 MB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.7177, allocations: 72.69 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.718, allocations: 299.3 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.7183, allocations: 243.1 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.7184, allocations: 72 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.7186, allocations: 83.98 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.7186, allocations: 79.69 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.7189, allocations: 267.1 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005701/0.7195, allocations: 0.6839 MB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7195, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7195, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.7195, allocations: 0 / 1.023 GB, free: 12.38 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.001229/0.7207, allocations: 0.8748 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.7208, allocations: 8.031 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.393e-05/0.7208, allocations: 58.72 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.721, allocations: 44.56 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.7224, allocations: 463.3 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.7224, allocations: 32.36 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.7225, allocations: 44.38 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.723, allocations: 221.5 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.723, allocations: 3.938 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.723, allocations: 11.94 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.723, allocations: 4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.7233, allocations: 115.9 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.7245, allocations: 0.9685 MB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.7251, allocations: 228.2 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.7254, allocations: 110.5 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.7254, allocations: 4 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005915/0.726, allocations: 289.3 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/0.726, allocations: 0 / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001064/0.7271, allocations: 451 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.7272, allocations: 122.7 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.7274, allocations: 262.9 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/0.7275, allocations: 45.7 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.7276, allocations: 152.9 kB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.191e-05/0.7277, allocations: 110.5 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.728, allocations: 150 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.7281, allocations: 342.8 kB / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.7287, allocations: 228.9 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/0.7293, allocations: 388.6 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/0.7302, allocations: 0.5802 MB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7302, allocations: 0 / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001474/0.7316, allocations: 0.8387 MB / 1.03 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.7318, allocations: 184.2 kB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7318, allocations: 11.94 kB / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.7318, allocations: 8.359 kB / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.732, allocations: 59.89 kB / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.732, allocations: 7.938 kB / 1.03 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008459/0.7329, allocations: 175.5 kB / 1.03 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.733, allocations: 47.95 kB / 1.03 GB, free: 4.277 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.0001867/0.7332, allocations: 168.1 kB / 1.031 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.7332, allocations: 35.61 kB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.7333, allocations: 33.81 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.7333, allocations: 4 kB / 1.031 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.7333, allocations: 7.984 kB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.7334, allocations: 0 / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.7346, allocations: 0.9269 MB / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7346, allocations: 0 / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.7348, allocations: 43.91 kB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.7348, allocations: 4 kB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.7349, allocations: 11.98 kB / 1.032 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.7349, allocations: 80 / 1.032 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7349, allocations: 4.172 kB / 1.032 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.7359, allocations: 0.7216 MB / 1.032 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.736, allocations: 112.6 kB / 1.032 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.7361, allocations: 12.03 kB / 1.032 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.7363, allocations: 19.92 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.7364, allocations: 31.95 kB / 1.033 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.7364, allocations: 12 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001589/0.7366, allocations: 178 kB / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7366, allocations: 0 / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004837/0.7371, allocations: 116 kB / 1.033 GB, free: 1.742 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.001399/0.7385, allocations: 1.268 MB / 1.034 GB, free: 456 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.7397, allocations: 0.8479 MB / 1.035 GB, free: 15.52 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7398, allocations: 0 / 1.035 GB, free: 15.52 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.7401, allocations: 155.7 kB / 1.035 GB, free: 15.37 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007093/0.7408, allocations: 109.5 kB / 1.035 GB, free: 15.27 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00598/0.7468, allocations: 4.333 MB / 1.039 GB, free: 10.73 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.7471, allocations: 0.7689 MB / 1.04 GB, free: 9.934 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.7474, allocations: 55.44 kB / 1.04 GB, free: 9.879 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.7475, allocations: 111.4 kB / 1.04 GB, free: 9.77 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.7475, allocations: 4 kB / 1.04 GB, free: 9.766 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.7689, allocations: 9.71 MB / 1.05 GB, free: 268 kB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.7691, allocations: 195.8 kB / 1.05 GB, free: 8 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.682, allocations: 0 / 1.05 GB, free: 8 kB / 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