Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000819/0.000819, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008133/0.0008133, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8553/0.8553, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.738/1.738, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.983e-05, allocations: 6.219 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001424/0.001443, allocations: 1.193 MB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.002885, allocations: 1.72 MB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.002954, allocations: 7.938 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.465e-05/0.002999, allocations: 23.62 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.003149, allocations: 99.33 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.003969, allocations: 0.65 MB / 1.005 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.004431, allocations: 0.7602 MB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.004553, allocations: 52.89 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.004842, allocations: 427.3 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.005071, allocations: 223.4 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.005135, allocations: 76 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.702e-05/0.005232, allocations: 87.98 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.005279, allocations: 71.69 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.005423, allocations: 215.6 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.005934, allocations: 0.8065 MB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.00594, allocations: 4 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005941, allocations: 0 / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.005945, allocations: 3.938 kB / 1.007 GB, free: 6.523 MB / 0.9636 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.00102/0.006965, allocations: 0.8614 MB / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.006997, allocations: 8.031 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.097e-05/0.007088, allocations: 48.75 kB / 1.008 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007452/0.007833, allocations: 404.2 kB / 1.009 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.007862, allocations: 28.36 kB / 1.009 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/0.007927, allocations: 40.38 kB / 1.009 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.008217, allocations: 218.7 kB / 1.009 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.008227, allocations: 4.188 kB / 1.009 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.008243, allocations: 4.375 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.00825, allocations: 8.125 kB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.008442, allocations: 123.9 kB / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/0.009183, allocations: 0.7852 MB / 1.01 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.009568, allocations: 228 kB / 1.01 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.009709, allocations: 94.52 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.009729, allocations: 8 kB / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/0.01005, allocations: 285.6 kB / 1.01 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 1.262e-06/0.01005, allocations: 3.938 kB / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0006741/0.01073, allocations: 464.1 kB / 1.011 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.01077, allocations: 114.8 kB / 1.011 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.01095, allocations: 260.2 kB / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.011, allocations: 53.69 kB / 1.011 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.0111, allocations: 160.9 kB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.087e-05/0.01116, allocations: 111.2 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.01132, allocations: 150.1 kB / 1.012 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.0114, allocations: 342.8 kB / 1.012 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.0118, allocations: 415 kB / 1.012 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.01231, allocations: 0.7706 MB / 1.013 GB, free: 136 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/0.01286, allocations: 0.5745 MB / 1.014 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01286, allocations: 4 kB / 1.014 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001117/0.01398, allocations: 1.036 MB / 1.015 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/0.01405, allocations: 186.2 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01406, allocations: 4 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.01407, allocations: 4 kB / 1.015 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.01419, allocations: 55.89 kB / 1.015 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.01419, allocations: 4 kB / 1.015 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.01462, allocations: 179.7 kB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.01467, allocations: 51.97 kB / 1.015 GB, free: 13.85 MB / 0.9792 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.0001303/0.0148, allocations: 171.7 kB / 1.015 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.01484, allocations: 39.75 kB / 1.015 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.01488, allocations: 29.8 kB / 1.015 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01488, allocations: 4 kB / 1.015 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01489, allocations: 4 kB / 1.015 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.01489, allocations: 3.984 kB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007285/0.01562, allocations: 0.8293 MB / 1.016 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01562, allocations: 0 / 1.016 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.01573, allocations: 39.95 kB / 1.016 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01574, allocations: 7.938 kB / 1.016 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.01575, allocations: 11.98 kB / 1.016 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01575, allocations: 4 kB / 1.016 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.01576, allocations: 7.938 kB / 1.016 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.01641, allocations: 0.7025 MB / 1.017 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.01644, allocations: 31.75 kB / 1.017 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.01646, allocations: 15.97 kB / 1.017 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.01659, allocations: 19.92 kB / 1.017 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.01663, allocations: 35.89 kB / 1.017 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.01665, allocations: 19.98 kB / 1.017 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001021/0.01675, allocations: 179.1 kB / 1.017 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.01675, allocations: 0 / 1.017 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003237/0.01707, allocations: 112 kB / 1.017 GB, free: 11.53 MB / 0.9792 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.0001204/0.01719, allocations: 127.1 kB / 1.017 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008059/0.018, allocations: 0.9396 MB / 1.018 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.018, allocations: 0 / 1.018 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.0182, allocations: 160.5 kB / 1.018 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.01866, allocations: 107.4 kB / 1.019 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.01936, allocations: 0.6041 MB / 1.019 GB, free: 9.438 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.01946, allocations: 165 kB / 1.019 GB, free: 9.258 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.01952, allocations: 44.48 kB / 1.019 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of SimCode: time 6.71e-07/0.01952, allocations: 3.938 kB / 1.019 GB, free: 9.211 MB / 0.9792 GB Notification: Performance of Templates: time 0.0052/0.02472, allocations: 5.889 MB / 1.025 GB, free: 3.367 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.838774302974343]