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.001229/0.001229, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 195.8 kB / 16.53 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.618/2.618, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 69.36 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2535, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002478/0.256, allocations: 1.287 MB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.258, allocations: 1.7 MB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.041e-05/0.2581, allocations: 4 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.602e-05/0.2582, allocations: 27.61 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.2583, allocations: 75.34 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.2596, allocations: 0.6414 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007248/0.2603, allocations: 0.7954 MB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.2605, allocations: 69.58 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.2608, allocations: 299.3 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.2611, allocations: 235.2 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.2612, allocations: 72 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.2613, allocations: 87.98 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.2614, allocations: 83.67 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.2617, allocations: 259.1 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006204/0.2623, allocations: 0.682 MB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2623, allocations: 4 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.01e-07/0.2623, allocations: 0 / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2624, allocations: 0 / 1.07 GB, free: 7.902 MB / 0.8262 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.001244/0.2636, allocations: 0.8711 MB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.2636, allocations: 8.031 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.2637, allocations: 50.72 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.2638, allocations: 48.56 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.2653, allocations: 459.4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.2653, allocations: 32.36 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.2654, allocations: 44.38 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.2659, allocations: 225.1 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2659, allocations: 3.938 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.2659, allocations: 8 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2659, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.2663, allocations: 115.9 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.2675, allocations: 0.9608 MB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.2681, allocations: 232.2 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.2684, allocations: 110.5 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.2684, allocations: 4 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005295/0.269, allocations: 297.3 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.462e-06/0.269, allocations: 0 / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001097/0.2701, allocations: 454.8 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.2702, allocations: 118.8 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.2704, allocations: 254.9 kB / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.2705, allocations: 53.69 kB / 1.074 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.2707, allocations: 160.8 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.2708, allocations: 98.61 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.271, allocations: 154 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2712, allocations: 346.8 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.2717, allocations: 228.8 kB / 1.075 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/0.2724, allocations: 387.1 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/0.2733, allocations: 0.5825 MB / 1.076 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2733, allocations: 0 / 1.076 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001527/0.2748, allocations: 0.8348 MB / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.275, allocations: 186.6 kB / 1.077 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.275, allocations: 11.94 kB / 1.077 GB, free: 100 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.275, allocations: 4 kB / 1.077 GB, free: 96 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.2752, allocations: 55.89 kB / 1.077 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2752, allocations: 7.938 kB / 1.077 GB, free: 32 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009259/0.2762, allocations: 179.4 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.052e-05/0.2763, allocations: 47.95 kB / 1.078 GB, free: 15.81 MB / 0.8419 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.0002021/0.2765, allocations: 171.5 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.2765, allocations: 35.61 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/0.2766, allocations: 33.81 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2766, allocations: 4 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2766, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2766, allocations: 7.984 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.2779, allocations: 0.9144 MB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2779, allocations: 4 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.2781, allocations: 47.91 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2781, allocations: 0 / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.2782, allocations: 15.98 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2782, allocations: 4 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2782, allocations: 0 / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.2793, allocations: 0.7097 MB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.2794, allocations: 104.7 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.2794, allocations: 15.97 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.2797, allocations: 11.98 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.2797, allocations: 31.95 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.2798, allocations: 16.19 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001574/0.2799, allocations: 186 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2799, allocations: 3.938 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004794/0.2804, allocations: 115.9 kB / 1.08 GB, free: 13.28 MB / 0.8419 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.001508/0.2819, allocations: 1.281 MB / 1.081 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.2833, allocations: 0.842 MB / 1.082 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2833, allocations: 4 kB / 1.082 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.2836, allocations: 155.7 kB / 1.082 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000771/0.2844, allocations: 122.3 kB / 1.082 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006205/0.2906, allocations: 4.262 MB / 1.086 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.291, allocations: 0.7689 MB / 1.087 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000223/0.2913, allocations: 59.44 kB / 1.087 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.2914, allocations: 115.4 kB / 1.087 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.2914, allocations: 0 / 1.087 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.878/1.169, allocations: 9.818 MB / 1.097 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.479/10.65, allocations: 24.8 kB / 1.097 GB, free: 11.65 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 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.mat","/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