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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002282/0.002282, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.713/1.713, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.131/3.131, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.89 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7384/0.7404, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003032/0.7435, allocations: 1.343 MB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003015/0.7466, allocations: 1.775 MB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.7467, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.7468, allocations: 11.86 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.7471, allocations: 75.41 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.7487, allocations: 0.6038 MB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008295/0.7496, allocations: 0.6588 MB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.7498, allocations: 68.7 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.7502, allocations: 255.2 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.7505, allocations: 223.2 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.627e-05/0.7506, allocations: 32 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.7507, allocations: 51.92 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.7508, allocations: 63.73 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.7511, allocations: 231.1 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.7519, allocations: 0.6485 MB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7519, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.02e-07/0.7519, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.7519, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 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.00166/0.7536, allocations: 0.8748 MB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.7537, allocations: 19.97 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.7538, allocations: 48.56 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.7554, allocations: 459.3 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.7555, allocations: 32.36 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.7556, allocations: 48.31 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.7561, allocations: 225.6 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.7562, allocations: 7.922 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.7562, allocations: 8 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.7562, allocations: 4 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.7566, allocations: 123.9 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.7581, allocations: 0.9452 MB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007511/0.7588, allocations: 240.1 kB / 1.025 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.7591, allocations: 102.5 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.7592, allocations: 15.97 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006721/0.7599, allocations: 285.3 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 2.225e-06/0.7599, allocations: 0 / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001258/0.7611, allocations: 451.4 kB / 1.026 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.956e-05/0.7613, allocations: 118.7 kB / 1.026 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.7616, allocations: 262.9 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.093e-05/0.7617, allocations: 53.69 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.7618, allocations: 152.9 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.762, allocations: 106.5 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/0.7623, allocations: 154 kB / 1.027 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7624, allocations: 342.8 kB / 1.027 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.7631, allocations: 224.8 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/0.7638, allocations: 380.7 kB / 1.028 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.7648, allocations: 0.5812 MB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.7648, allocations: 7.984 kB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001766/0.7666, allocations: 0.8404 MB / 1.029 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.7668, allocations: 192.4 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.7668, allocations: 4 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.7668, allocations: 7.938 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.7671, allocations: 51.89 kB / 1.03 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.7671, allocations: 16 kB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009694/0.7681, allocations: 175.5 kB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.091e-05/0.7682, allocations: 39.97 kB / 1.03 GB, free: 4.648 MB / 0.7794 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.0002763/0.7684, allocations: 175.5 kB / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.7685, allocations: 31.62 kB / 1.03 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.7686, allocations: 33.8 kB / 1.03 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.7686, allocations: 8 kB / 1.03 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.7686, allocations: 0 / 1.03 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.7686, allocations: 7.922 kB / 1.03 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.7701, allocations: 0.9223 MB / 1.031 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7701, allocations: 0 / 1.031 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.7704, allocations: 43.89 kB / 1.031 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.7704, allocations: 8 kB / 1.031 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.7705, allocations: 15.97 kB / 1.031 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7705, allocations: 0 / 1.031 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7705, allocations: 4 kB / 1.031 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.7718, allocations: 0.7165 MB / 1.032 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.497e-05/0.7719, allocations: 104.7 kB / 1.032 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.7719, allocations: 12.22 kB / 1.032 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.7722, allocations: 15.98 kB / 1.032 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.7723, allocations: 31.91 kB / 1.032 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.7723, allocations: 23.98 kB / 1.032 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001976/0.7725, allocations: 182 kB / 1.032 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7725, allocations: 0 / 1.032 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006045/0.7731, allocations: 104 kB / 1.032 GB, free: 2.113 MB / 0.7794 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.0002207/0.7733, allocations: 127.7 kB / 1.032 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.7749, allocations: 0.8317 MB / 1.033 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7749, allocations: 0 / 1.033 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.7753, allocations: 164.7 kB / 1.033 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008314/0.7761, allocations: 109.4 kB / 1.033 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.7774, allocations: 0.6647 MB / 1.034 GB, free: 120 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.7778, allocations: 0.773 MB / 1.035 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002534/0.7781, allocations: 59.64 kB / 1.035 GB, free: 15.26 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.7782, allocations: 31.44 kB / 1.035 GB, free: 15.23 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.7782, allocations: 0 / 1.035 GB, free: 15.23 MB / 0.795 GB Notification: Performance of Templates: time 0.0137/0.7919, allocations: 6.653 MB / 1.041 GB, free: 8.66 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile (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) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches