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.001528/0.001528, allocations: 106.5 kB / 16.27 MB, free: 6.414 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.001528/0.001528, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.533/2.533, allocations: 437.1 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 68.33 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3411, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002667/0.3438, allocations: 1.292 MB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002454/0.3463, allocations: 1.687 MB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.3464, allocations: 4 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.613e-05/0.3465, allocations: 23.67 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.3468, allocations: 87.33 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.3483, allocations: 0.6465 MB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008515/0.3491, allocations: 0.7799 MB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.3493, allocations: 72.69 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.3497, allocations: 299.3 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.35, allocations: 247.1 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.3502, allocations: 72 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.3503, allocations: 87.98 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.3504, allocations: 71.69 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.3508, allocations: 263.1 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007189/0.3515, allocations: 0.6859 MB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3515, allocations: 0 / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3515, allocations: 0 / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.3515, allocations: 0 / 1.024 GB, free: 4.281 MB / 0.795 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.001493/0.353, allocations: 0.8747 MB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3531, allocations: 12.58 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.3532, allocations: 48.56 kB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.3549, allocations: 471.2 kB / 1.026 GB, free: 2.762 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.355, allocations: 28.36 kB / 1.026 GB, free: 2.734 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.3551, allocations: 40.38 kB / 1.026 GB, free: 2.695 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.3556, allocations: 222 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3557, allocations: 7.938 kB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.3557, allocations: 4 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.3557, allocations: 4 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.3561, allocations: 119.9 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.3576, allocations: 0.9686 MB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/0.3583, allocations: 228.1 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.3586, allocations: 106.5 kB / 1.027 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.3587, allocations: 12 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006161/0.3593, allocations: 286.9 kB / 1.027 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of pre-optimization done (n=37): time 1.974e-06/0.3593, allocations: 4 kB / 1.027 GB, free: 0.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=37): time 0.001258/0.3606, allocations: 464 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.3607, allocations: 114.8 kB / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.3611, allocations: 258.9 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.792e-05/0.3612, allocations: 49.69 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.3614, allocations: 164.8 kB / 1.028 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.3615, allocations: 98.61 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.3619, allocations: 150 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3621, allocations: 350.8 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006257/0.3627, allocations: 220.9 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007192/0.3634, allocations: 388.6 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.3645, allocations: 0.5659 MB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3645, allocations: 4 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001975/0.3665, allocations: 0.8482 MB / 1.031 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.3667, allocations: 186.6 kB / 1.031 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3667, allocations: 8 kB / 1.031 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.3667, allocations: 11.94 kB / 1.031 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.367, allocations: 47.89 kB / 1.031 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.367, allocations: 8 kB / 1.031 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009985/0.368, allocations: 179.5 kB / 1.031 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.069e-05/0.3681, allocations: 47.95 kB / 1.031 GB, free: 12.23 MB / 0.8106 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.0002566/0.3684, allocations: 175.4 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.3685, allocations: 35.61 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.996e-05/0.3685, allocations: 37.81 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.3686, allocations: 4 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3686, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3686, allocations: 3.984 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.3703, allocations: 0.9183 MB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3703, allocations: 0 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.3706, allocations: 35.97 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3706, allocations: 7.938 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.3706, allocations: 19.98 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3706, allocations: 4 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3706, allocations: 0 / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.3721, allocations: 0.704 MB / 1.033 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.3722, allocations: 108.7 kB / 1.033 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.3722, allocations: 8.031 kB / 1.033 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.3725, allocations: 20.17 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.3726, allocations: 35.83 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.3726, allocations: 19.94 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002285/0.3729, allocations: 186 kB / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3729, allocations: 0 / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006086/0.3735, allocations: 115.9 kB / 1.034 GB, free: 9.703 MB / 0.8106 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.000232/0.3737, allocations: 123.3 kB / 1.034 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.3754, allocations: 0.8473 MB / 1.035 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3754, allocations: 0 / 1.035 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.3758, allocations: 178.4 kB / 1.035 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/0.3767, allocations: 122.2 kB / 1.035 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3779, allocations: 0.6207 MB / 1.036 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.3785, allocations: 0.7767 MB / 1.036 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.45e-05/0.3786, allocations: 43.36 kB / 1.036 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3786, allocations: 0 / 1.036 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of Templates: time 0.01095/0.3895, allocations: 5.745 MB / 1.042 GB, free: 1.168 MB / 0.8106 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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