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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005125/0.005125, allocations: 98.86 kB / 15.73 MB, free: 6.043 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.001417/0.001417, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.696/2.696, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.89 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2842, allocations: 162.3 MB / 1.242 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002228/0.2864, allocations: 1.294 MB / 1.243 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.2885, allocations: 1.685 MB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.2886, allocations: 4 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.626e-05/0.2886, allocations: 27.61 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.2888, allocations: 83.33 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.2901, allocations: 0.6462 MB / 1.246 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007606/0.2909, allocations: 0.7993 MB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.2911, allocations: 68.7 kB / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.2914, allocations: 295.4 kB / 1.247 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.2917, allocations: 275.1 kB / 1.247 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.2918, allocations: 76 kB / 1.247 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.292, allocations: 91.91 kB / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.2921, allocations: 75.7 kB / 1.247 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.2923, allocations: 259.1 kB / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.293, allocations: 0.7009 MB / 1.248 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.293, allocations: 0 / 1.248 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.293, allocations: 0 / 1.248 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.293, allocations: 0 / 1.248 GB, free: 3.426 MB / 0.9981 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.001248/0.2943, allocations: 0.8748 MB / 1.249 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2943, allocations: 15.97 kB / 1.249 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.2944, allocations: 46.73 kB / 1.249 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.2945, allocations: 48.75 kB / 1.249 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.2958, allocations: 463.4 kB / 1.25 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.2958, allocations: 28.38 kB / 1.25 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-05/0.2959, allocations: 48.36 kB / 1.25 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.2964, allocations: 212.4 kB / 1.25 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2964, allocations: 0 / 1.25 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.2964, allocations: 19.97 kB / 1.25 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2965, allocations: 4 kB / 1.25 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.2968, allocations: 123.8 kB / 1.25 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.2979, allocations: 0.9494 MB / 1.251 GB, free: 412 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.2986, allocations: 228.1 kB / 1.251 GB, free: 156 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.2989, allocations: 110.5 kB / 1.251 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2989, allocations: 0 / 1.251 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4571/0.756, allocations: 288.5 kB / 1.251 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 2.766e-06/0.756, allocations: 0 / 1.251 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001156/0.7572, allocations: 460 kB / 1.252 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.7572, allocations: 115.9 kB / 1.252 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.7575, allocations: 261.2 kB / 1.252 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.7576, allocations: 47.05 kB / 1.252 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.7577, allocations: 163.1 kB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.7577, allocations: 105 kB / 1.253 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.758, allocations: 155 kB / 1.253 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.95e-05/0.758, allocations: 343.8 kB / 1.253 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/0.7586, allocations: 228.4 kB / 1.253 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.7591, allocations: 388 kB / 1.254 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/0.7599, allocations: 0.5736 MB / 1.254 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7599, allocations: 1.031 kB / 1.254 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00139/0.7613, allocations: 0.8468 MB / 1.255 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.72e-05/0.7614, allocations: 182.7 kB / 1.255 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.7614, allocations: 4.328 kB / 1.255 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.7614, allocations: 5.344 kB / 1.255 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.7616, allocations: 53.5 kB / 1.255 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.7616, allocations: 10.23 kB / 1.255 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/0.7625, allocations: 182.2 kB / 1.255 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.7626, allocations: 43.34 kB / 1.255 GB, free: 12.73 MB / 0.9981 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.0001476/0.7628, allocations: 176.3 kB / 1.256 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.7628, allocations: 32.95 kB / 1.256 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.7629, allocations: 34.36 kB / 1.256 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.7629, allocations: 8.094 kB / 1.256 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.7629, allocations: 0.9688 kB / 1.256 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.7629, allocations: 5.953 kB / 1.256 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.764, allocations: 0.9205 MB / 1.257 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.764, allocations: 5.688 kB / 1.257 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.7642, allocations: 45.47 kB / 1.257 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.7643, allocations: 2.469 kB / 1.257 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.7643, allocations: 12.06 kB / 1.257 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7643, allocations: 4.188 kB / 1.257 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7643, allocations: 0.8438 kB / 1.257 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009755/0.7653, allocations: 0.7224 MB / 1.257 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.7653, allocations: 109.5 kB / 1.257 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.7654, allocations: 8.641 kB / 1.258 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.7656, allocations: 19.52 kB / 1.258 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.7657, allocations: 33.98 kB / 1.258 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.7657, allocations: 19.3 kB / 1.258 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001283/0.7658, allocations: 179.4 kB / 1.258 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7658, allocations: 0 / 1.258 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004554/0.7663, allocations: 114.1 kB / 1.258 GB, free: 11.21 MB / 0.9981 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.001174/0.7675, allocations: 1.273 MB / 1.259 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.7686, allocations: 0.8389 MB / 1.26 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7686, allocations: 0.75 kB / 1.26 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.7689, allocations: 163.1 kB / 1.26 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.7696, allocations: 115.4 kB / 1.26 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/0.7746, allocations: 4.262 MB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.7748, allocations: 0.7738 MB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.7749, allocations: 50.95 kB / 1.265 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.775, allocations: 110.5 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.7751, allocations: 2.719 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.542/3.317, allocations: 9.915 MB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/15.7, allocations: 19.23 kB / 1.275 GB, free: 5.137 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=400 --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