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.001403/0.001403, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001524/0.001524, allocations: 168.2 kB / 24.86 MB, free: 8.883 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 0.926/0.926, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.779/1.779, allocations: 359 MB / 0.6063 GB, free: 10.87 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 1.683e-06/1.683e-06, allocations: 0 / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.27e-05, allocations: 3.188 kB / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001483/0.001495, allocations: 1.241 MB / 0.7896 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.003042, allocations: 1.745 MB / 0.7913 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.003114, allocations: 0.625 kB / 0.7913 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.003154, allocations: 23.62 kB / 0.7913 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.003312, allocations: 96.62 kB / 0.7914 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008178/0.00413, allocations: 0.6375 MB / 0.792 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004875/0.004617, allocations: 0.7563 MB / 0.7928 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.004726, allocations: 44.91 kB / 0.7928 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.005108, allocations: 467.1 kB / 0.7933 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.005327, allocations: 207 kB / 0.7935 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.005388, allocations: 52 kB / 0.7935 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.005477, allocations: 64.7 kB / 0.7936 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.005522, allocations: 67.75 kB / 0.7936 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.00565, allocations: 185 kB / 0.7938 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.005991, allocations: 450.7 kB / 0.7942 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.005993, allocations: 0 / 0.7942 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005994, allocations: 0 / 0.7942 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.005998, allocations: 1.594 kB / 0.7942 GB, free: 6.133 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.000827/0.006825, allocations: 0.9422 MB / 0.7952 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.006854, allocations: 8.031 kB / 0.7952 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.006943, allocations: 62.06 kB / 0.7952 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.007214, allocations: 284.6 kB / 0.7955 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.007238, allocations: 24.38 kB / 0.7955 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.007297, allocations: 48.36 kB / 0.7956 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.00752, allocations: 203.5 kB / 0.7958 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.007527, allocations: 1.062 kB / 0.7958 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.007544, allocations: 12.36 kB / 0.7958 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.007549, allocations: 1.188 kB / 0.7958 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.314e-05/0.007622, allocations: 55.83 kB / 0.7958 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006873/0.00831, allocations: 0.8937 MB / 0.7967 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.00851, allocations: 174.8 kB / 0.7969 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.008567, allocations: 64.41 kB / 0.7969 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.008584, allocations: 7.984 kB / 0.7969 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.0088, allocations: 246.7 kB / 0.7972 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.443e-06/0.008801, allocations: 0 / 0.7972 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0003854/0.009186, allocations: 336.9 kB / 0.7975 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.00923, allocations: 106.8 kB / 0.7976 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.009382, allocations: 312.4 kB / 0.7979 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.009428, allocations: 45.7 kB / 0.7979 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.009528, allocations: 211.7 kB / 0.7981 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.009589, allocations: 107.1 kB / 0.7982 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.009752, allocations: 155.7 kB / 0.7984 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.009866, allocations: 0.5156 MB / 0.7989 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.01009, allocations: 330.3 kB / 0.7992 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.0104, allocations: 0.5766 MB / 0.7998 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.01074, allocations: 0.5076 MB / 0.8003 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01074, allocations: 0.5625 kB / 0.8003 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007056/0.01145, allocations: 0.9137 MB / 0.8012 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/0.01152, allocations: 194.8 kB / 0.8013 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01153, allocations: 4 kB / 0.8014 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.01154, allocations: 9.719 kB / 0.8014 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.01166, allocations: 47.91 kB / 0.8014 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.01167, allocations: 15.92 kB / 0.8014 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.01199, allocations: 143 kB / 0.8016 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.01204, allocations: 39.97 kB / 0.8016 GB, free: 13.92 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.0001878/0.01223, allocations: 203.4 kB / 0.8018 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.01227, allocations: 52.84 kB / 0.8018 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.01231, allocations: 29.81 kB / 0.8019 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01231, allocations: 5.062 kB / 0.8019 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.01232, allocations: 4 kB / 0.8019 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.01232, allocations: 5.109 kB / 0.8019 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/0.01288, allocations: 0.8398 MB / 0.8027 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01288, allocations: 0.875 kB / 0.8027 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.01298, allocations: 39.91 kB / 0.8027 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01299, allocations: 8.531 kB / 0.8027 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.01301, allocations: 16.77 kB / 0.8028 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01301, allocations: 4 kB / 0.8028 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01301, allocations: 1.188 kB / 0.8028 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.01341, allocations: 0.7036 MB / 0.8035 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.01344, allocations: 35.73 kB / 0.8035 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.01346, allocations: 8 kB / 0.8035 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.01358, allocations: 12.36 kB / 0.8035 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.01362, allocations: 39.89 kB / 0.8035 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.01363, allocations: 15.98 kB / 0.8036 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.018e-05/0.01371, allocations: 202.9 kB / 0.8038 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01371, allocations: 0 / 0.8038 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003171/0.01403, allocations: 108 kB / 0.8039 GB, free: 11.54 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.0001055/0.01414, allocations: 131 kB / 0.804 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005338/0.01467, allocations: 0.8443 MB / 0.8048 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01467, allocations: 4 kB / 0.8048 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.01477, allocations: 114.1 kB / 0.8049 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.01521, allocations: 119.9 kB / 0.805 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.01573, allocations: 0.5409 MB / 0.8056 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.0158, allocations: 101.1 kB / 0.8057 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.659e-05/0.01589, allocations: 43.28 kB / 0.8057 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.01619, allocations: 238 kB / 0.8059 GB, free: 9.23 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/0.01619, allocations: 0 / 0.8059 GB, free: 9.23 MB / 0.7605 GB Notification: Performance of Templates: time 0.008449/0.02464, allocations: 8.305 MB / 0.814 GB, free: 1.121 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.0743440659716725]