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.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.001478/0.001478, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001572/0.001572, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.502/1.502, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.987/2.987, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.216e-05, allocations: 7.234 kB / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002496/0.002528, allocations: 1.217 MB / 0.7876 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002794/0.005323, allocations: 1.719 MB / 0.7893 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.656e-05/0.005419, allocations: 4 kB / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.334e-05/0.005483, allocations: 19.69 kB / 0.7893 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.005735, allocations: 100.6 kB / 0.7894 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.00716, allocations: 0.6277 MB / 0.79 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008847/0.008044, allocations: 0.7611 MB / 0.7908 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.008206, allocations: 44.91 kB / 0.7908 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005438/0.00875, allocations: 432.6 kB / 0.7912 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.009129, allocations: 219.4 kB / 0.7915 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.009251, allocations: 73.47 kB / 0.7915 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.009418, allocations: 87.97 kB / 0.7916 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.009501, allocations: 71.75 kB / 0.7917 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.009779, allocations: 219.6 kB / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.01096, allocations: 0.8076 MB / 0.7927 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01096, allocations: 0 / 0.7927 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01096, allocations: 3.938 kB / 0.7927 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.01097, allocations: 0.8438 kB / 0.7927 GB, free: 6.348 MB / 0.7448 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.00155/0.01252, allocations: 0.8666 MB / 0.7935 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.01256, allocations: 13.62 kB / 0.7935 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.01274, allocations: 68.69 kB / 0.7936 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.01418, allocations: 400.5 kB / 0.794 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.01423, allocations: 28.38 kB / 0.794 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.01435, allocations: 48.36 kB / 0.7941 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.01486, allocations: 215.9 kB / 0.7943 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.01487, allocations: 192 / 0.7943 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.0149, allocations: 8.359 kB / 0.7943 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.01491, allocations: 8.125 kB / 0.7943 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.01527, allocations: 125.6 kB / 0.7944 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.0166, allocations: 0.7943 MB / 0.7952 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/0.01732, allocations: 214.6 kB / 0.7954 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.01761, allocations: 99.67 kB / 0.7955 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.01764, allocations: 8 kB / 0.7955 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006813/0.01832, allocations: 291.2 kB / 0.7958 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.01832, allocations: 0 / 0.7958 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.001317/0.01964, allocations: 471.6 kB / 0.7962 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.01974, allocations: 126.7 kB / 0.7963 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.02006, allocations: 257.1 kB / 0.7966 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.02016, allocations: 57.69 kB / 0.7966 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.02035, allocations: 153 kB / 0.7968 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.02046, allocations: 108.5 kB / 0.7969 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/0.02076, allocations: 150.1 kB / 0.797 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.02098, allocations: 350.7 kB / 0.7974 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007339/0.02172, allocations: 411.9 kB / 0.7978 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.02276, allocations: 0.772 MB / 0.7985 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.02409, allocations: 0.5751 MB / 0.7991 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02409, allocations: 4 kB / 0.7991 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002015/0.02611, allocations: 1.071 MB / 0.8001 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.02628, allocations: 182.2 kB / 0.8003 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.02629, allocations: 6.312 kB / 0.8003 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.02631, allocations: 4 kB / 0.8003 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.02656, allocations: 51.91 kB / 0.8004 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.02658, allocations: 15.92 kB / 0.8004 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/0.02754, allocations: 184.5 kB / 0.8005 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-05/0.02764, allocations: 43.97 kB / 0.8006 GB, free: 13.63 MB / 0.7605 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.0002773/0.02792, allocations: 176.8 kB / 0.8008 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.028, allocations: 48.89 kB / 0.8008 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.096e-05/0.02808, allocations: 29.81 kB / 0.8008 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.02809, allocations: 4.719 kB / 0.8008 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.0281, allocations: 0 / 0.8008 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.0281, allocations: 4.484 kB / 0.8008 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.02956, allocations: 0.8277 MB / 0.8016 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.02957, allocations: 3.938 kB / 0.8016 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.02981, allocations: 41.25 kB / 0.8017 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.02981, allocations: 4 kB / 0.8017 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.02985, allocations: 12.36 kB / 0.8017 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.02985, allocations: 8 kB / 0.8017 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.02986, allocations: 3.938 kB / 0.8017 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.03121, allocations: 0.7276 MB / 0.8024 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.03127, allocations: 31.78 kB / 0.8025 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.03131, allocations: 8 kB / 0.8025 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.03156, allocations: 23.92 kB / 0.8025 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.03164, allocations: 36.02 kB / 0.8025 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.03168, allocations: 16 kB / 0.8025 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002237/0.0319, allocations: 183.1 kB / 0.8027 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.0319, allocations: 0 / 0.8027 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006116/0.03251, allocations: 119.9 kB / 0.8028 GB, free: 11.27 MB / 0.7605 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.0002696/0.03278, allocations: 115.1 kB / 0.8029 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.03454, allocations: 0.9435 MB / 0.8039 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.03455, allocations: 0 / 0.8039 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.03493, allocations: 148.6 kB / 0.804 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008557/0.03578, allocations: 117.4 kB / 0.8041 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.03721, allocations: 0.5925 MB / 0.8047 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.03742, allocations: 165 kB / 0.8048 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.03763, allocations: 51.28 kB / 0.8049 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/0.03773, allocations: 40.48 kB / 0.8049 GB, free: 8.938 MB / 0.7605 GB Notification: Performance of SimCode: time 9.01e-07/0.03773, allocations: 0 / 0.8049 GB, free: 8.938 MB / 0.7605 GB Notification: Performance of Templates: time 0.0173/0.05503, allocations: 7.695 MB / 0.8124 GB, free: 1.445 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.316815200028941]