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.001772/0.001772, allocations: 115.7 kB / 17.13 MB, free: 5.941 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.002133/0.002133, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.472/1.472, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.632/2.632, allocations: 443.5 MB / 0.7293 GB, free: 14.45 MB / 0.5762 GB " [Timeout remaining time 177] 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.001988/0.001988, allocations: 67.89 kB / 1.057 GB, free: 1.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3118, allocations: 160.7 MB / 1.214 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002649/0.3145, allocations: 1.301 MB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.3168, allocations: 1.69 MB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3169, allocations: 4 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.923e-05/0.317, allocations: 27.61 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.3172, allocations: 95.33 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.3187, allocations: 0.6566 MB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008063/0.3195, allocations: 0.7564 MB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.3197, allocations: 56.69 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.32, allocations: 299.3 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.3204, allocations: 279 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.3205, allocations: 72 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.3207, allocations: 83.98 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.3208, allocations: 75.75 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.3211, allocations: 259.1 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007382/0.3218, allocations: 0.6931 MB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3219, allocations: 4 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3219, allocations: 0 / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.3219, allocations: 0 / 1.22 GB, free: 10.46 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.00147/0.3233, allocations: 0.8748 MB / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3234, allocations: 15.98 kB / 1.221 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.3235, allocations: 44.75 kB / 1.221 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.325, allocations: 463.6 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.325, allocations: 40.16 kB / 1.222 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.3251, allocations: 48.31 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.3256, allocations: 209.5 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3257, allocations: 3.938 kB / 1.222 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.3257, allocations: 12 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3257, allocations: 4 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.326, allocations: 119.9 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.3274, allocations: 0.9688 MB / 1.223 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006939/0.328, allocations: 216.1 kB / 1.223 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.3283, allocations: 98.52 kB / 1.223 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.3283, allocations: 4 kB / 1.223 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005504/0.3289, allocations: 289.6 kB / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.3289, allocations: 0 / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001194/0.3301, allocations: 461.1 kB / 1.224 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.3302, allocations: 114.8 kB / 1.224 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.3305, allocations: 263 kB / 1.224 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/0.3306, allocations: 49.64 kB / 1.224 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3308, allocations: 168.9 kB / 1.225 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.3309, allocations: 99.22 kB / 1.225 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.3312, allocations: 154 kB / 1.225 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3314, allocations: 342.8 kB / 1.225 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006029/0.332, allocations: 224.9 kB / 1.225 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/0.3326, allocations: 396.4 kB / 1.226 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.3336, allocations: 0.5711 MB / 1.226 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3336, allocations: 4 kB / 1.226 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001703/0.3353, allocations: 0.8527 MB / 1.227 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.3355, allocations: 186.2 kB / 1.227 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.3355, allocations: 4 kB / 1.227 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3355, allocations: 8.312 kB / 1.227 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.3357, allocations: 59.83 kB / 1.227 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3358, allocations: 4 kB / 1.227 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009546/0.3367, allocations: 175.6 kB / 1.228 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-05/0.3368, allocations: 47.95 kB / 1.228 GB, free: 2.41 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.0002321/0.337, allocations: 175.4 kB / 1.228 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.3371, allocations: 39.75 kB / 1.228 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.754e-05/0.3372, allocations: 33.81 kB / 1.228 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3372, allocations: 4 kB / 1.228 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.3372, allocations: 3.984 kB / 1.228 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3372, allocations: 4 kB / 1.228 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.3386, allocations: 0.9183 MB / 1.229 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3386, allocations: 7.938 kB / 1.229 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.3389, allocations: 35.97 kB / 1.229 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3389, allocations: 0 / 1.229 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.3389, allocations: 11.98 kB / 1.229 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3389, allocations: 4 kB / 1.229 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3389, allocations: 3.938 kB / 1.229 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3403, allocations: 0.7202 MB / 1.23 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.3403, allocations: 108.9 kB / 1.23 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.3404, allocations: 15.98 kB / 1.23 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3406, allocations: 11.98 kB / 1.23 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.3407, allocations: 31.95 kB / 1.23 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.3407, allocations: 16 kB / 1.23 GB, free: 176 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001964/0.3409, allocations: 182 kB / 1.23 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3409, allocations: 3.938 kB / 1.23 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005528/0.3415, allocations: 115.9 kB / 1.23 GB, free: 15.88 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.0002311/0.3417, allocations: 131.1 kB / 1.23 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.3431, allocations: 0.7582 MB / 1.231 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3431, allocations: 0 / 1.231 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.3435, allocations: 155.7 kB / 1.231 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/0.3443, allocations: 109.3 kB / 1.231 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3456, allocations: 0.6237 MB / 1.232 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.3461, allocations: 0.7805 MB / 1.232 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3462, allocations: 43.42 kB / 1.233 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3462, allocations: 0 / 1.233 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of Templates: time 0.01105/0.3573, allocations: 5.781 MB / 1.238 GB, free: 7.391 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" 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 [Calling sys.exit(0), Time elapsed: 11.200987221905962]