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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108.2 kB / 16.27 MB, free: 6.004 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.001659/0.001659, allocations: 188.3 kB / 17.2 MB, free: 5.617 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.835/1.835, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.576/2.576, allocations: 469.4 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 74.42 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3092, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002702/0.3119, allocations: 1.288 MB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002288/0.3142, allocations: 1.696 MB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.3144, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.339e-05/0.3145, allocations: 27.61 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.3148, allocations: 79.34 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3163, allocations: 0.6415 MB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008571/0.3172, allocations: 0.7876 MB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.3174, allocations: 68.7 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/0.3178, allocations: 295.4 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.3181, allocations: 247.1 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.3183, allocations: 72 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.3185, allocations: 83.98 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.12e-05/0.3186, allocations: 75.7 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.3189, allocations: 263.1 kB / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000671/0.3196, allocations: 0.6898 MB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3196, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3196, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.3196, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8419 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.001427/0.3211, allocations: 0.8594 MB / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3211, allocations: 16.62 kB / 1.071 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.3213, allocations: 40.66 kB / 1.071 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.3228, allocations: 471.2 kB / 1.072 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.3228, allocations: 32.31 kB / 1.072 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.3229, allocations: 40.38 kB / 1.072 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.3234, allocations: 225.5 kB / 1.072 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3234, allocations: 7.938 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.3235, allocations: 8 kB / 1.072 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3235, allocations: 7.938 kB / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.3238, allocations: 123.8 kB / 1.072 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.325, allocations: 0.9569 MB / 1.073 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.3257, allocations: 236.1 kB / 1.073 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.326, allocations: 106.5 kB / 1.073 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.326, allocations: 4 kB / 1.073 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005505/0.3266, allocations: 289.3 kB / 1.074 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 1.963e-06/0.3266, allocations: 4 kB / 1.074 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.001177/0.3278, allocations: 459.8 kB / 1.074 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.3278, allocations: 106.8 kB / 1.074 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.3281, allocations: 270.9 kB / 1.074 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.509e-05/0.3282, allocations: 45.7 kB / 1.075 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3283, allocations: 156.9 kB / 1.075 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.094e-05/0.3284, allocations: 110.5 kB / 1.075 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.3287, allocations: 150 kB / 1.075 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3288, allocations: 342.8 kB / 1.075 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/0.3294, allocations: 224.9 kB / 1.075 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.33, allocations: 388.7 kB / 1.076 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009062/0.3309, allocations: 0.5781 MB / 1.076 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.3309, allocations: 0 / 1.076 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001551/0.3325, allocations: 0.8348 MB / 1.077 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.3326, allocations: 188.5 kB / 1.077 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.3326, allocations: 4 kB / 1.077 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3327, allocations: 7.938 kB / 1.077 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.3329, allocations: 56.27 kB / 1.077 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3329, allocations: 11.94 kB / 1.077 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009438/0.3339, allocations: 179.4 kB / 1.078 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/0.334, allocations: 47.97 kB / 1.078 GB, free: 0.6836 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.0002133/0.3342, allocations: 167.5 kB / 1.078 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.3342, allocations: 39.61 kB / 1.078 GB, free: 484 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/0.3343, allocations: 37.8 kB / 1.078 GB, free: 440 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3343, allocations: 4.188 kB / 1.078 GB, free: 436 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3343, allocations: 4 kB / 1.078 GB, free: 432 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3344, allocations: 3.938 kB / 1.078 GB, free: 428 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6001/0.9345, allocations: 0.9059 MB / 1.079 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.9345, allocations: 4.812 kB / 1.079 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.9348, allocations: 42.69 kB / 1.079 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.9348, allocations: 3.016 kB / 1.079 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.9349, allocations: 11.81 kB / 1.079 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.9349, allocations: 6.938 kB / 1.079 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9349, allocations: 2.75 kB / 1.079 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.9361, allocations: 0.7067 MB / 1.08 GB, free: 21.69 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.9362, allocations: 111.5 kB / 1.08 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.9362, allocations: 12.02 kB / 1.08 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.9365, allocations: 20.23 kB / 1.08 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.9366, allocations: 32.45 kB / 1.08 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.9366, allocations: 18.86 kB / 1.08 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001858/0.9368, allocations: 178.7 kB / 1.08 GB, free: 21.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9368, allocations: 0.8125 kB / 1.08 GB, free: 21.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007924/0.9376, allocations: 116.1 kB / 1.08 GB, free: 21.52 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.000209/0.9378, allocations: 124.6 kB / 1.08 GB, free: 21.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.9393, allocations: 0.8497 MB / 1.081 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.9393, allocations: 0.625 kB / 1.081 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.9397, allocations: 178.1 kB / 1.081 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.9405, allocations: 113.4 kB / 1.081 GB, free: 21.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.9416, allocations: 0.6369 MB / 1.082 GB, free: 20.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.9418, allocations: 0.7705 MB / 1.083 GB, free: 20.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/0.9419, allocations: 43.17 kB / 1.083 GB, free: 20 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.9419, allocations: 1.312 kB / 1.083 GB, free: 20 MB / 0.8419 GB Notification: Performance of Templates: time 0.01166/0.9536, allocations: 5.76 MB / 1.088 GB, free: 19.46 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) "" Variables in the reference:time,ramUp.u,ramUp.y,ramUp1.y,ramUp.active,ramUpDow.u,ramUpDow.y,ramUpDow.active,ramUpDow1.u,ramUpDow1.y,ramUpDow1.active Variables in the result:ramUp.active,ramUp.u,ramUp.y,ramUp1.y,ramUpDow.active,ramUpDow.u,ramUpDow.y,ramUpDow1.active,ramUpDow1.u,ramUpDow1.y,time