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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006383/0.006383, allocations: 101.2 kB / 15.73 MB, free: 5.523 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.001274/0.001275, allocations: 192.1 kB / 16.67 MB, free: 5.461 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2864, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003076/0.2895, allocations: 1.299 MB / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002573/0.2921, allocations: 1.689 MB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.2923, allocations: 4 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.783e-05/0.2923, allocations: 23.67 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.2926, allocations: 83.33 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.2942, allocations: 0.6431 MB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009664/0.2952, allocations: 0.7993 MB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.2954, allocations: 64.72 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004106/0.2958, allocations: 303.3 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004601/0.2963, allocations: 275.1 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.2965, allocations: 75.98 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.2966, allocations: 83.98 kB / 1.213 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.2967, allocations: 75.77 kB / 1.213 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.297, allocations: 263.1 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006739/0.2977, allocations: 0.6975 MB / 1.214 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2977, allocations: 0 / 1.214 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2977, allocations: 0 / 1.214 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.2977, allocations: 0 / 1.214 GB, free: 3.738 MB / 0.9669 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.001447/0.2992, allocations: 0.871 MB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2992, allocations: 12.62 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.2993, allocations: 46.73 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.2994, allocations: 48.56 kB / 1.215 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.3009, allocations: 467.2 kB / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.301, allocations: 24.38 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.3011, allocations: 52.34 kB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.3016, allocations: 224.8 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3016, allocations: 0 / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.3016, allocations: 11.98 kB / 1.215 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3016, allocations: 4 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.302, allocations: 119.9 kB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.3034, allocations: 0.953 MB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.3041, allocations: 228.1 kB / 1.217 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.3043, allocations: 110.5 kB / 1.217 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3044, allocations: 0 / 1.217 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005698/0.3049, allocations: 295 kB / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 1.047e-05/0.305, allocations: 0 / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001178/0.3062, allocations: 460.1 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.3062, allocations: 114.8 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.3065, allocations: 262.9 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-05/0.3066, allocations: 49.7 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3067, allocations: 152.9 kB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.3068, allocations: 102.6 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.3071, allocations: 158 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3073, allocations: 346.8 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.3078, allocations: 220.9 kB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.3085, allocations: 388.7 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/0.3094, allocations: 0.5755 MB / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3094, allocations: 0 / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0016/0.311, allocations: 0.8381 MB / 1.22 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.3111, allocations: 190.2 kB / 1.221 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3111, allocations: 7.938 kB / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3112, allocations: 8 kB / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.3114, allocations: 47.91 kB / 1.221 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3114, allocations: 7.938 kB / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009531/0.3124, allocations: 179.6 kB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-05/0.3125, allocations: 43.97 kB / 1.221 GB, free: 11.65 MB / 0.9825 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.0001974/0.3127, allocations: 175.5 kB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.3127, allocations: 31.62 kB / 1.221 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.3129, allocations: 41.92 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3129, allocations: 4 kB / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3129, allocations: 3.938 kB / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3129, allocations: 7.984 kB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.3142, allocations: 0.9303 MB / 1.222 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3142, allocations: 0 / 1.222 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.3145, allocations: 43.91 kB / 1.222 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3145, allocations: 4 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.3145, allocations: 11.98 kB / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3145, allocations: 4 kB / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3145, allocations: 0 / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.3157, allocations: 0.7199 MB / 1.223 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.3158, allocations: 104.7 kB / 1.223 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.3158, allocations: 8 kB / 1.223 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.3161, allocations: 15.97 kB / 1.223 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.3161, allocations: 27.97 kB / 1.223 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.3162, allocations: 23.98 kB / 1.223 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001561/0.3163, allocations: 178 kB / 1.223 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3164, allocations: 0 / 1.223 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000528/0.3169, allocations: 119.8 kB / 1.223 GB, free: 9.105 MB / 0.9825 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.001488/0.3184, allocations: 1.272 MB / 1.225 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.3197, allocations: 0.8348 MB / 1.225 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3197, allocations: 0 / 1.225 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.3201, allocations: 156.5 kB / 1.225 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.3209, allocations: 113.8 kB / 1.226 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0061/0.327, allocations: 4.253 MB / 1.23 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3273, allocations: 0.7767 MB / 1.231 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001939/0.3275, allocations: 51.28 kB / 1.231 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.3277, allocations: 115.4 kB / 1.231 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.3277, allocations: 3.938 kB / 1.231 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.3592, allocations: 10.13 MB / 1.241 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/8.727, allocations: 11.83 kB / 1.241 GB, free: 7.23 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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