Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_11_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.007987/0.007987, allocations: 97.22 kB / 15.73 MB, free: 6.055 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.00211/0.00211, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.819/2.819, allocations: 469.8 MB / 0.7425 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.89 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2763, allocations: 159.1 MB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002438/0.2788, allocations: 1.291 MB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.281, allocations: 1.696 MB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.2811, allocations: 4 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.841e-05/0.2812, allocations: 19.69 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.2814, allocations: 79.34 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.2828, allocations: 0.6603 MB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00085/0.2836, allocations: 0.7876 MB / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.2838, allocations: 60.73 kB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.2841, allocations: 303.3 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.2845, allocations: 283 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.2846, allocations: 72 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.2848, allocations: 83.98 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.2849, allocations: 79.69 kB / 1.226 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.2852, allocations: 259.1 kB / 1.226 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007308/0.286, allocations: 0.7009 MB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.286, allocations: 0 / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.286, allocations: 0 / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.286, allocations: 0 / 1.226 GB, free: 7.859 MB / 0.9825 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.001383/0.2874, allocations: 0.8748 MB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2874, allocations: 12.03 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.816e-05/0.2875, allocations: 50.73 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.2876, allocations: 52.73 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.2891, allocations: 459.4 kB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.2891, allocations: 32.36 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.916e-05/0.2892, allocations: 52.36 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.2897, allocations: 217.2 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2898, allocations: 3.984 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.2898, allocations: 8 kB / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2898, allocations: 4 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.2902, allocations: 131.8 kB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.2914, allocations: 0.9454 MB / 1.229 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.2922, allocations: 240.1 kB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.2925, allocations: 102.5 kB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.2925, allocations: 7.984 kB / 1.23 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006157/0.2931, allocations: 277.8 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 4.86e-06/0.2931, allocations: 4 kB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001214/0.2944, allocations: 453 kB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.2945, allocations: 114.8 kB / 1.23 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.2947, allocations: 270.9 kB / 1.231 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-05/0.2948, allocations: 49.7 kB / 1.231 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.295, allocations: 164.9 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/0.2951, allocations: 103.2 kB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.2954, allocations: 146.1 kB / 1.231 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2955, allocations: 346.7 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005916/0.2961, allocations: 228.8 kB / 1.232 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/0.2968, allocations: 388.7 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.2979, allocations: 0.5763 MB / 1.233 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2979, allocations: 0 / 1.233 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001712/0.2996, allocations: 0.8521 MB / 1.233 GB, free: 264 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.2998, allocations: 182.2 kB / 1.234 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.2998, allocations: 7.938 kB / 1.234 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.2999, allocations: 4 kB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.3002, allocations: 56.22 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.3002, allocations: 16.05 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.3012, allocations: 175.6 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.985e-05/0.3013, allocations: 43.97 kB / 1.234 GB, free: 15.75 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.0002511/0.3015, allocations: 173.3 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.3016, allocations: 35.7 kB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.135e-05/0.3017, allocations: 45.73 kB / 1.234 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3017, allocations: 4 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.3017, allocations: 4 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3017, allocations: 7.969 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.3032, allocations: 0.9116 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3032, allocations: 4 kB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.3034, allocations: 47.89 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3035, allocations: 0 / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.3035, allocations: 15.98 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.3035, allocations: 0 / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3035, allocations: 4 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.3047, allocations: 0.7216 MB / 1.236 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.3048, allocations: 104.9 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.3049, allocations: 12.03 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.3051, allocations: 15.98 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.3052, allocations: 27.97 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.3052, allocations: 15.98 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001813/0.3054, allocations: 182 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3054, allocations: 0 / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006028/0.306, allocations: 115.9 kB / 1.236 GB, free: 13.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.001661/0.3077, allocations: 1.292 MB / 1.237 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.3092, allocations: 0.8354 MB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3092, allocations: 128 / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.3096, allocations: 159.8 kB / 1.238 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008259/0.3105, allocations: 101.1 kB / 1.239 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/0.3171, allocations: 4.258 MB / 1.243 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.3176, allocations: 0.7805 MB / 1.243 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002152/0.3178, allocations: 47.28 kB / 1.243 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.318, allocations: 115.4 kB / 1.244 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.318, allocations: 0 / 1.244 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5122/0.8302, allocations: 9.903 MB / 1.253 GB, free: 29.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/9, allocations: 15.72 kB / 1.253 GB, free: 29.37 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches