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.001661/0.001661, 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.001774/0.001775, allocations: 193.8 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.572/1.572, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.753/2.753, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8127/0.8142, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002663/0.8169, allocations: 1.292 MB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.8191, allocations: 1.695 MB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.8193, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.905e-05/0.8194, allocations: 23.67 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.8196, allocations: 75.34 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.8212, allocations: 0.6399 MB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008566/0.8221, allocations: 0.7954 MB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.8222, allocations: 72.69 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.8227, allocations: 299.3 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.823, allocations: 239.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.8232, allocations: 72 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.8234, allocations: 87.97 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.8235, allocations: 75.75 kB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.8238, allocations: 263 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.8245, allocations: 0.6816 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8245, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8245, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.8245, allocations: 0 / 1.023 GB, free: 12.21 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.00143/0.826, allocations: 0.8826 MB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.826, allocations: 11.98 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.8262, allocations: 48.56 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.8277, allocations: 459.3 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.8277, allocations: 32.36 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.8278, allocations: 44.38 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.8283, allocations: 221.6 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.8283, allocations: 3.938 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.8284, allocations: 8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.8284, allocations: 4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.8287, allocations: 123.9 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.83, allocations: 0.9609 MB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/0.8306, allocations: 236.1 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.8309, allocations: 98.53 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.831, allocations: 15.92 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005344/0.8315, allocations: 281.3 kB / 1.027 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.944e-06/0.8315, allocations: 0 / 1.027 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001167/0.8327, allocations: 457 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.8328, allocations: 122.7 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.833, allocations: 258.9 kB / 1.028 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.939e-05/0.8331, allocations: 49.69 kB / 1.028 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.8332, allocations: 164.8 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.106e-05/0.8333, allocations: 102.6 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.8336, allocations: 154 kB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.8337, allocations: 342.8 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005404/0.8343, allocations: 228.8 kB / 1.029 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/0.8349, allocations: 384.7 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/0.8358, allocations: 0.5754 MB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8359, allocations: 0 / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001556/0.8374, allocations: 0.8438 MB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.8375, allocations: 182.6 kB / 1.03 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.8376, allocations: 8 kB / 1.03 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.8376, allocations: 11.88 kB / 1.03 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.8378, allocations: 59.83 kB / 1.031 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.8379, allocations: 8 kB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009449/0.8388, allocations: 175.5 kB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/0.8389, allocations: 43.95 kB / 1.031 GB, free: 4.156 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.0002373/0.8391, allocations: 179.4 kB / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.8392, allocations: 31.62 kB / 1.031 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/0.8393, allocations: 37.8 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.8393, allocations: 4 kB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.8393, allocations: 0 / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.8393, allocations: 3.984 kB / 1.031 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.8407, allocations: 0.9193 MB / 1.032 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.8407, allocations: 0 / 1.032 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.8409, allocations: 43.91 kB / 1.032 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.8409, allocations: 4 kB / 1.032 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.841, allocations: 15.98 kB / 1.032 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.841, allocations: 4 kB / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.841, allocations: 0 / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.8421, allocations: 0.7078 MB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.8422, allocations: 108.7 kB / 1.033 GB, free: 2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.8422, allocations: 12.03 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.8425, allocations: 15.98 kB / 1.033 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.8425, allocations: 27.97 kB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.8426, allocations: 15.98 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00016/0.8427, allocations: 186 kB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8427, allocations: 3.938 kB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005506/0.8433, allocations: 111.9 kB / 1.033 GB, free: 1.633 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.000202/0.8435, allocations: 128.1 kB / 1.033 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.8448, allocations: 0.8551 MB / 1.034 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8448, allocations: 0 / 1.034 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.8452, allocations: 160.5 kB / 1.034 GB, free: 424 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007828/0.846, allocations: 117.9 kB / 1.034 GB, free: 308 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.8471, allocations: 0.5997 MB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.8474, allocations: 0.7725 MB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.8476, allocations: 59.34 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.8477, allocations: 39.42 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.8477, allocations: 0 / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of Templates: time 0.01335/0.8611, allocations: 6.969 MB / 1.043 GB, free: 7.895 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=480 -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