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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 81.42 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 168.4 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.91/2.91, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.045e-06/3.045e-06, allocations: 0 / 1 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.268e-05, allocations: 2.281 kB / 1 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003192/0.003225, allocations: 1.217 MB / 1.001 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003188/0.006412, allocations: 1.711 MB / 1.003 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.006677, allocations: 0 / 1.003 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.00678, allocations: 27.61 kB / 1.003 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.007171, allocations: 95.27 kB / 1.003 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.009077, allocations: 0.6575 MB / 1.004 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.01032, allocations: 0.7602 MB / 1.005 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.01056, allocations: 52.88 kB / 1.005 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.01157, allocations: 431.3 kB / 1.005 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.0122, allocations: 223.5 kB / 1.005 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.01254, allocations: 72 kB / 1.005 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.0128, allocations: 83.98 kB / 1.005 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.01291, allocations: 75.67 kB / 1.005 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.0133, allocations: 215.6 kB / 1.006 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.01449, allocations: 0.8065 MB / 1.006 GB, free: 15.76 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.0145, allocations: 0 / 1.006 GB, free: 15.76 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.0145, allocations: 0 / 1.006 GB, free: 15.76 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.556e-05/0.01452, allocations: 4 kB / 1.006 GB, free: 15.75 MB / 0.92 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.001974/0.0165, allocations: 0.8652 MB / 1.007 GB, free: 14.8 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.01655, allocations: 15.92 kB / 1.007 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.0167, allocations: 48.75 kB / 1.007 GB, free: 14.74 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.01818, allocations: 396.2 kB / 1.008 GB, free: 14.33 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.01823, allocations: 32.22 kB / 1.008 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.01833, allocations: 44.38 kB / 1.008 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.01886, allocations: 225.8 kB / 1.008 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.01887, allocations: 192 / 1.008 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.01889, allocations: 4.375 kB / 1.008 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.01891, allocations: 8.125 kB / 1.008 GB, free: 14.01 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.01926, allocations: 119.9 kB / 1.008 GB, free: 13.89 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.02057, allocations: 0.7892 MB / 1.009 GB, free: 13.06 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/0.0213, allocations: 220 kB / 1.009 GB, free: 12.82 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.02157, allocations: 94.53 kB / 1.009 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.0216, allocations: 15.92 kB / 1.009 GB, free: 12.7 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006705/0.02227, allocations: 285.4 kB / 1.009 GB, free: 12.4 MB / 0.92 GB Notification: Performance of pre-optimization done (n=37): time 2.043e-06/0.02227, allocations: 0 / 1.009 GB, free: 12.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=37): time 0.001279/0.02355, allocations: 461.9 kB / 1.01 GB, free: 11.95 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.395e-05/0.02364, allocations: 118.7 kB / 1.01 GB, free: 11.8 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.02397, allocations: 260.2 kB / 1.01 GB, free: 11.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.842e-05/0.02407, allocations: 53.69 kB / 1.01 GB, free: 11.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.02425, allocations: 164.9 kB / 1.011 GB, free: 11.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.02436, allocations: 95.19 kB / 1.011 GB, free: 11.22 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.02466, allocations: 154.1 kB / 1.011 GB, free: 11.06 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.02486, allocations: 354.7 kB / 1.011 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007517/0.02561, allocations: 411 kB / 1.011 GB, free: 10.27 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.02665, allocations: 0.7666 MB / 1.012 GB, free: 9.352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.02771, allocations: 0.5853 MB / 1.013 GB, free: 8.688 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/0.02773, allocations: 4 kB / 1.013 GB, free: 8.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001906/0.02964, allocations: 1.027 MB / 1.014 GB, free: 7.578 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.0298, allocations: 190.2 kB / 1.014 GB, free: 7.355 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.02981, allocations: 4 kB / 1.014 GB, free: 7.352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.02983, allocations: 7.938 kB / 1.014 GB, free: 7.344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.03007, allocations: 51.84 kB / 1.014 GB, free: 7.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/0.0301, allocations: 7.984 kB / 1.014 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.0311, allocations: 187.7 kB / 1.014 GB, free: 7.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.03121, allocations: 43.97 kB / 1.014 GB, free: 7.059 MB / 0.92 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.0002791/0.03149, allocations: 177.1 kB / 1.014 GB, free: 6.879 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.03156, allocations: 27.81 kB / 1.014 GB, free: 6.852 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.03167, allocations: 41.72 kB / 1.015 GB, free: 6.809 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.03168, allocations: 4 kB / 1.015 GB, free: 6.805 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.03169, allocations: 4 kB / 1.015 GB, free: 6.801 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.03169, allocations: 7.984 kB / 1.015 GB, free: 6.793 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.03317, allocations: 0.8195 MB / 1.015 GB, free: 5.934 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.03318, allocations: 4 kB / 1.015 GB, free: 5.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.03343, allocations: 47.89 kB / 1.015 GB, free: 5.883 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.03344, allocations: 0 / 1.015 GB, free: 5.883 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.03347, allocations: 16 kB / 1.015 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.03347, allocations: 0 / 1.015 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.03348, allocations: 7.922 kB / 1.015 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.03482, allocations: 0.7062 MB / 1.016 GB, free: 5.137 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.03488, allocations: 27.75 kB / 1.016 GB, free: 5.109 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.03493, allocations: 16 kB / 1.016 GB, free: 5.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.03518, allocations: 23.95 kB / 1.016 GB, free: 5.07 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.03525, allocations: 27.95 kB / 1.016 GB, free: 5.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.03529, allocations: 15.98 kB / 1.016 GB, free: 5.027 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002089/0.03549, allocations: 179.1 kB / 1.016 GB, free: 4.855 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.03549, allocations: 3.938 kB / 1.016 GB, free: 4.852 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005784/0.03607, allocations: 115.9 kB / 1.016 GB, free: 4.738 MB / 0.92 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.0002488/0.03632, allocations: 131 kB / 1.017 GB, free: 4.602 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.03795, allocations: 0.9317 MB / 1.018 GB, free: 3.559 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.03795, allocations: 0 / 1.018 GB, free: 3.559 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.03832, allocations: 144.5 kB / 1.018 GB, free: 3.418 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/0.03916, allocations: 116.2 kB / 1.018 GB, free: 3.305 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.04045, allocations: 0.5711 MB / 1.018 GB, free: 2.703 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.04065, allocations: 161 kB / 1.018 GB, free: 2.52 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.04086, allocations: 63.34 kB / 1.019 GB, free: 2.457 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.04096, allocations: 40.48 kB / 1.019 GB, free: 2.418 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/0.04096, allocations: 0 / 1.019 GB, free: 2.418 MB / 0.92 GB Notification: Performance of Templates: time 0.01576/0.05672, allocations: 7.684 MB / 1.026 GB, free: 10.91 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.668153923004866]