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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001338/0.001338, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001539/0.001539, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.839/2.839, allocations: 437.7 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003997, allocations: 12 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8875/0.8879, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002466/0.8904, allocations: 0.9467 MB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0039/0.8944, allocations: 1.659 MB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.8946, allocations: 4 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.594e-05/0.8946, allocations: 7.875 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.895, allocations: 71.45 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.8977, allocations: 0.5547 MB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.8988, allocations: 0.608 MB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.8991, allocations: 63.56 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004748/0.8996, allocations: 243.4 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000438/0.9001, allocations: 215.2 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.9002, allocations: 32 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.9004, allocations: 43.98 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.9005, allocations: 55.75 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.9007, allocations: 93.52 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008444/0.9016, allocations: 0.5045 MB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.9016, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9016, allocations: 3.938 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.9016, allocations: 0 / 1.027 GB, free: 10.97 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.001919/0.9036, allocations: 0.789 MB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.9036, allocations: 12.52 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.9039, allocations: 51.61 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.9066, allocations: 474 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.403e-05/0.9067, allocations: 31.95 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.9069, allocations: 43.89 kB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008014/0.9077, allocations: 216.8 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.9078, allocations: 0 / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.9078, allocations: 11.98 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.9078, allocations: 8 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006201/0.9085, allocations: 121.5 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.9108, allocations: 0.957 MB / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.912, allocations: 228.1 kB / 1.03 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.9125, allocations: 106.5 kB / 1.03 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.9126, allocations: 11.94 kB / 1.03 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.9136, allocations: 289.3 kB / 1.031 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 3.837e-06/0.9136, allocations: 0 / 1.031 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.002415/0.916, allocations: 452.9 kB / 1.031 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/0.9162, allocations: 110.8 kB / 1.031 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006106/0.9168, allocations: 267 kB / 1.031 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002289/0.9171, allocations: 45.7 kB / 1.031 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.9174, allocations: 160.9 kB / 1.032 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.9176, allocations: 102.6 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.9178, allocations: 15.98 kB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002402/0.918, allocations: 342.8 kB / 1.032 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.9191, allocations: 224.8 kB / 1.032 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.9203, allocations: 388.7 kB / 1.033 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.9215, allocations: 387.6 kB / 1.033 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.9215, allocations: 0 / 1.033 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002403/0.9239, allocations: 0.8442 MB / 1.034 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.9241, allocations: 190.1 kB / 1.034 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.9241, allocations: 4 kB / 1.034 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.9242, allocations: 8 kB / 1.034 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.9244, allocations: 48.27 kB / 1.034 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.9244, allocations: 12.19 kB / 1.034 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009738/0.9254, allocations: 239.5 kB / 1.034 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/0.9255, allocations: 47.91 kB / 1.034 GB, free: 3.34 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,$whenCondition15,$PRE.booPul1.y,booPul1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition10,$PRE.booPul2.y,booPul2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,$PRE.pul2.booPul.y,pul2.booPul.y,$PRE.booPul5.y,booPul5.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002909/0.9258, allocations: 175.5 kB / 1.035 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.9259, allocations: 27.62 kB / 1.035 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.742e-05/0.926, allocations: 33.86 kB / 1.035 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.926, allocations: 4 kB / 1.035 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.926, allocations: 4 kB / 1.035 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.926, allocations: 11.98 kB / 1.035 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.9277, allocations: 0.9323 MB / 1.036 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.9278, allocations: 0 / 1.036 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.928, allocations: 35.97 kB / 1.036 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.928, allocations: 4 kB / 1.036 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.9281, allocations: 15.92 kB / 1.036 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.9281, allocations: 4 kB / 1.036 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9281, allocations: 3.953 kB / 1.036 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.9293, allocations: 0.6973 MB / 1.036 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.9294, allocations: 108.7 kB / 1.036 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.9295, allocations: 12.03 kB / 1.036 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.9297, allocations: 15.98 kB / 1.036 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.9298, allocations: 39.84 kB / 1.036 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.9299, allocations: 16 kB / 1.036 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002029/0.9301, allocations: 182 kB / 1.037 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9301, allocations: 0 / 1.037 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00065/0.9307, allocations: 108 kB / 1.037 GB, free: 0.8125 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002808/0.931, allocations: 127.2 kB / 1.037 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.9324, allocations: 0.8407 MB / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.9324, allocations: 0.75 kB / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.9327, allocations: 167.7 kB / 1.038 GB, free: 15.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007495/0.9335, allocations: 101.1 kB / 1.038 GB, free: 15.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.9347, allocations: 0.6678 MB / 1.039 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.9352, allocations: 0.773 MB / 1.039 GB, free: 14.01 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002817/0.9355, allocations: 63.34 kB / 1.039 GB, free: 13.95 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.9356, allocations: 35.44 kB / 1.039 GB, free: 13.91 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/0.9356, allocations: 0 / 1.039 GB, free: 13.91 MB / 0.795 GB Notification: Performance of Templates: time 0.01334/0.949, allocations: 6.357 MB / 1.046 GB, free: 7.641 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