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.00107/0.00107, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001202/0.001202, allocations: 181 kB / 24.08 MB, free: 416 kB / 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 0.9729/0.9729, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 1.783/1.783, allocations: 359 MB / 0.6055 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] 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 3.317e-06/3.317e-06, allocations: 0 / 0.7876 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.494e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00267/0.002705, allocations: 1.219 MB / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.005388, allocations: 1.746 MB / 0.7905 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.005538, allocations: 4.875 kB / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.281e-05/0.005591, allocations: 23.67 kB / 0.7906 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.005806, allocations: 108.1 kB / 0.7907 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.006909, allocations: 0.6239 MB / 0.7913 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.007484, allocations: 0.7608 MB / 0.792 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.007627, allocations: 49.92 kB / 0.7921 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004849/0.008112, allocations: 463.1 kB / 0.7925 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.008348, allocations: 203.4 kB / 0.7927 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.008415, allocations: 56 kB / 0.7927 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.008517, allocations: 69.23 kB / 0.7928 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.008561, allocations: 63.75 kB / 0.7929 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.008684, allocations: 183.7 kB / 0.7931 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.009037, allocations: 457.1 kB / 0.7935 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.009041, allocations: 0 / 0.7935 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.009043, allocations: 0 / 0.7935 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.009048, allocations: 0 / 0.7935 GB, free: 6.102 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.0008284/0.009876, allocations: 0.9383 MB / 0.7944 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.009915, allocations: 12.03 kB / 0.7944 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.195e-05/0.01001, allocations: 61.27 kB / 0.7945 GB, free: 5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.01028, allocations: 280.6 kB / 0.7947 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.01031, allocations: 29.97 kB / 0.7948 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.01037, allocations: 44.36 kB / 0.7948 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.0106, allocations: 203.1 kB / 0.795 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.01061, allocations: 0.875 kB / 0.795 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.01062, allocations: 8.375 kB / 0.795 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.01063, allocations: 5.062 kB / 0.795 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.079e-05/0.01071, allocations: 59.81 kB / 0.7951 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.01143, allocations: 0.8861 MB / 0.7959 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.01166, allocations: 174.8 kB / 0.7961 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.01172, allocations: 63.62 kB / 0.7962 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.01175, allocations: 8.734 kB / 0.7962 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.01197, allocations: 254.3 kB / 0.7964 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.01197, allocations: 0.8125 kB / 0.7964 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0004128/0.01238, allocations: 330.5 kB / 0.7967 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.01242, allocations: 114.8 kB / 0.7968 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.01258, allocations: 306.2 kB / 0.7971 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.01262, allocations: 49.69 kB / 0.7972 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.01275, allocations: 211.7 kB / 0.7974 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.01281, allocations: 107.1 kB / 0.7975 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.01295, allocations: 149.7 kB / 0.7976 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.01307, allocations: 0.5234 MB / 0.7981 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.01329, allocations: 323.1 kB / 0.7985 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.0136, allocations: 0.5767 MB / 0.799 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.01393, allocations: 0.5177 MB / 0.7995 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01393, allocations: 0.6562 kB / 0.7995 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006877/0.01462, allocations: 0.9117 MB / 0.8004 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/0.01471, allocations: 198.2 kB / 0.8006 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01472, allocations: 8 kB / 0.8006 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01473, allocations: 4 kB / 0.8006 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.01485, allocations: 49.34 kB / 0.8007 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01485, allocations: 7.984 kB / 0.8007 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.01517, allocations: 141.5 kB / 0.8008 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.01521, allocations: 41.09 kB / 0.8008 GB, free: 13.89 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.0001421/0.01536, allocations: 211.6 kB / 0.801 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.0154, allocations: 47.77 kB / 0.8011 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.01544, allocations: 35.64 kB / 0.8011 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01545, allocations: 4 kB / 0.8011 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01545, allocations: 0 / 0.8011 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.01546, allocations: 3.984 kB / 0.8011 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.01606, allocations: 0.8372 MB / 0.8019 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01606, allocations: 4 kB / 0.8019 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.01616, allocations: 44.28 kB / 0.802 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01617, allocations: 4 kB / 0.802 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.01618, allocations: 15.98 kB / 0.802 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01619, allocations: 0 / 0.802 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01619, allocations: 0 / 0.802 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.01661, allocations: 0.7073 MB / 0.8027 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.01663, allocations: 27.75 kB / 0.8027 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.01666, allocations: 11.98 kB / 0.8027 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01676, allocations: 19.92 kB / 0.8028 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.0168, allocations: 35.89 kB / 0.8028 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.01682, allocations: 19.98 kB / 0.8028 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.0169, allocations: 195 kB / 0.803 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.0169, allocations: 0 / 0.803 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003311/0.01723, allocations: 115.9 kB / 0.8031 GB, free: 11.5 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.000165/0.0174, allocations: 123.1 kB / 0.8032 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005594/0.01795, allocations: 0.8535 MB / 0.8041 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01796, allocations: 0 / 0.8041 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.912e-05/0.01806, allocations: 107.5 kB / 0.8042 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.0185, allocations: 130.1 kB / 0.8043 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.01908, allocations: 0.5348 MB / 0.8048 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.186e-05/0.01914, allocations: 97.12 kB / 0.8049 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.01924, allocations: 47.27 kB / 0.8049 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.01954, allocations: 234.1 kB / 0.8052 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of SimCode: time 8.22e-07/0.01954, allocations: 0 / 0.8052 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of Templates: time 0.009109/0.02865, allocations: 8.141 MB / 0.8131 GB, free: 1.246 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.161025883164257]