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.001668/0.001668, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.494/1.494, allocations: 222.9 MB / 240.2 MB, free: 4.41 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 2.842/2.842, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 71.89 kB / 0.8693 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.7731, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002905/0.776, allocations: 1.3 MB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002534/0.7786, allocations: 1.682 MB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.7787, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.29e-05/0.7788, allocations: 27.61 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.7791, allocations: 87.33 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.7807, allocations: 0.644 MB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008691/0.7816, allocations: 0.7876 MB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.7818, allocations: 71.44 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.7821, allocations: 299.4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.7825, allocations: 243.1 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.7826, allocations: 72 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.7828, allocations: 83.98 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.7829, allocations: 79.69 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.7832, allocations: 259.1 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007343/0.784, allocations: 0.6875 MB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.784, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.784, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.784, allocations: 4 kB / 1.023 GB, free: 12.2 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.001521/0.7855, allocations: 0.8709 MB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7856, allocations: 15.98 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.7857, allocations: 48.56 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.7874, allocations: 467.2 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.56e-05/0.7874, allocations: 32.36 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.7875, allocations: 40.38 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.7881, allocations: 221.7 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.7881, allocations: 3.938 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.7881, allocations: 11.94 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.7881, allocations: 4 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.7885, allocations: 119.9 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.7899, allocations: 0.957 MB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007603/0.7907, allocations: 240.1 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.791, allocations: 102.5 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.7911, allocations: 19.91 kB / 1.027 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006697/0.7917, allocations: 285.3 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.983e-06/0.7917, allocations: 0 / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001295/0.793, allocations: 455 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.7931, allocations: 114.7 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.7934, allocations: 266.9 kB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.672e-05/0.7935, allocations: 45.7 kB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.7937, allocations: 156.9 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.7938, allocations: 106.5 kB / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.7941, allocations: 154 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.7943, allocations: 342.8 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/0.7949, allocations: 224.9 kB / 1.029 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.7956, allocations: 388.6 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.7967, allocations: 0.5669 MB / 1.029 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7967, allocations: 0 / 1.029 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001724/0.7984, allocations: 0.8503 MB / 1.03 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.7986, allocations: 182.6 kB / 1.031 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7986, allocations: 8 kB / 1.031 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.7986, allocations: 7.938 kB / 1.031 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.7989, allocations: 59.83 kB / 1.031 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.7989, allocations: 11.94 kB / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.7999, allocations: 171.7 kB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.8, allocations: 47.95 kB / 1.031 GB, free: 4.148 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.000274/0.8003, allocations: 175.5 kB / 1.031 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.8004, allocations: 35.61 kB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.383e-05/0.8005, allocations: 29.81 kB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.8005, allocations: 8 kB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.8005, allocations: 3.984 kB / 1.031 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.8005, allocations: 0 / 1.031 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.802, allocations: 0.9221 MB / 1.032 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.802, allocations: 0 / 1.032 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.8023, allocations: 43.91 kB / 1.032 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.8023, allocations: 4 kB / 1.032 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.8023, allocations: 15.98 kB / 1.032 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8023, allocations: 0 / 1.032 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8023, allocations: 4 kB / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.8036, allocations: 0.7089 MB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.24e-05/0.8037, allocations: 108.7 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.8038, allocations: 12.03 kB / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.804, allocations: 15.98 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.8041, allocations: 31.95 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.8041, allocations: 16 kB / 1.033 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001867/0.8043, allocations: 186 kB / 1.033 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.194e-06/0.8043, allocations: 0 / 1.033 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006134/0.805, allocations: 115.9 kB / 1.033 GB, free: 1.617 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.000224/0.8052, allocations: 123.2 kB / 1.033 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.8068, allocations: 0.8526 MB / 1.034 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8068, allocations: 0 / 1.034 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.8071, allocations: 160 kB / 1.034 GB, free: 416 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.808, allocations: 122.1 kB / 1.034 GB, free: 296 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.8092, allocations: 0.5958 MB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.8097, allocations: 0.7725 MB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002362/0.8099, allocations: 55.27 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.81, allocations: 39.42 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of SimCode: time 7.21e-07/0.81, allocations: 3.938 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of Templates: time 0.01517/0.8252, allocations: 6.972 MB / 1.043 GB, free: 7.887 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