Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.788/2.788, allocations: 443.5 MB / 0.7304 GB, free: 13.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 64.08 kB / 1.059 GB, free: 284 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4108, allocations: 160.7 MB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002926/0.4137, allocations: 1.304 MB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.4164, allocations: 1.706 MB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.4165, allocations: 4 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.894e-05/0.4166, allocations: 27.61 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.4169, allocations: 95.34 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.4186, allocations: 0.6527 MB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008878/0.4195, allocations: 0.7525 MB / 1.221 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.4196, allocations: 52.7 kB / 1.221 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.42, allocations: 295.4 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.4204, allocations: 275 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.4205, allocations: 72 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.4206, allocations: 87.92 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.4207, allocations: 75.8 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.421, allocations: 263.1 kB / 1.222 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000763/0.4218, allocations: 0.6931 MB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4218, allocations: 0 / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4218, allocations: 0 / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.4218, allocations: 0 / 1.222 GB, free: 8.891 MB / 0.9669 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.001483/0.4232, allocations: 0.8826 MB / 1.223 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4233, allocations: 8.031 kB / 1.223 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.4234, allocations: 52.73 kB / 1.223 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.4249, allocations: 459.6 kB / 1.224 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.4249, allocations: 40.16 kB / 1.224 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.425, allocations: 40.38 kB / 1.224 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.4256, allocations: 213.9 kB / 1.224 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.4256, allocations: 11.91 kB / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.4256, allocations: 4 kB / 1.224 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4256, allocations: 4 kB / 1.224 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.426, allocations: 123.9 kB / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.4274, allocations: 0.9532 MB / 1.225 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.4281, allocations: 224.1 kB / 1.225 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.4283, allocations: 98.47 kB / 1.225 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.4284, allocations: 19.91 kB / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006516/0.429, allocations: 277.6 kB / 1.226 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 2.275e-06/0.429, allocations: 0 / 1.226 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.00126/0.4303, allocations: 463.4 kB / 1.226 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/0.4304, allocations: 106.8 kB / 1.226 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.4307, allocations: 267 kB / 1.226 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/0.4308, allocations: 45.7 kB / 1.227 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.4309, allocations: 164.9 kB / 1.227 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.431, allocations: 107.2 kB / 1.227 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.4313, allocations: 150.1 kB / 1.227 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4315, allocations: 342.8 kB / 1.227 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/0.4321, allocations: 228.8 kB / 1.227 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/0.4328, allocations: 392.5 kB / 1.228 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009719/0.4337, allocations: 0.5784 MB / 1.228 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4337, allocations: 0 / 1.228 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001664/0.4354, allocations: 0.8533 MB / 1.229 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.4355, allocations: 190.2 kB / 1.229 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4356, allocations: 4 kB / 1.229 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.4356, allocations: 11.94 kB / 1.229 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.4358, allocations: 47.91 kB / 1.229 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.4358, allocations: 7.984 kB / 1.229 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000946/0.4368, allocations: 175.6 kB / 1.23 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.319e-05/0.4369, allocations: 39.97 kB / 1.23 GB, free: 0.8477 MB / 0.9669 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.0002606/0.4371, allocations: 183.4 kB / 1.23 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.4372, allocations: 35.77 kB / 1.23 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.112e-05/0.4373, allocations: 37.8 kB / 1.23 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4373, allocations: 4 kB / 1.23 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.4373, allocations: 0 / 1.23 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4373, allocations: 3.984 kB / 1.23 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.4388, allocations: 0.9264 MB / 1.231 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4388, allocations: 0 / 1.231 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.4391, allocations: 43.89 kB / 1.231 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4391, allocations: 4 kB / 1.231 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.4391, allocations: 11.98 kB / 1.231 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.4391, allocations: 8 kB / 1.231 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4391, allocations: 0 / 1.231 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.4403, allocations: 0.7256 MB / 1.232 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.4404, allocations: 108.9 kB / 1.232 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.4405, allocations: 8.031 kB / 1.232 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.4407, allocations: 20.11 kB / 1.232 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.4408, allocations: 27.97 kB / 1.232 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.4408, allocations: 23.92 kB / 1.232 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001997/0.441, allocations: 186 kB / 1.232 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.441, allocations: 0 / 1.232 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006512/0.4417, allocations: 111.9 kB / 1.232 GB, free: 14.29 MB / 0.9825 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.0002403/0.4419, allocations: 115.2 kB / 1.232 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.4433, allocations: 0.7541 MB / 1.233 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4433, allocations: 0 / 1.233 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.4437, allocations: 139.7 kB / 1.233 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.4445, allocations: 110.4 kB / 1.233 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.4457, allocations: 0.6258 MB / 1.234 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.4461, allocations: 0.7767 MB / 1.235 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001966/0.4463, allocations: 51.28 kB / 1.235 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.4464, allocations: 35.42 kB / 1.235 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of SimCode: time 8.11e-07/0.4464, allocations: 0 / 1.235 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of Templates: time 0.01423/0.4606, allocations: 7.103 MB / 1.242 GB, free: 4.543 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.129692913033068]