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.001137/0.001137, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001028/0.001028, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.583/2.583, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 60.47 kB / 0.8707 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.307, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002413/0.3095, allocations: 1.288 MB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3116, allocations: 1.691 MB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.3117, allocations: 4 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.393e-05/0.3117, allocations: 19.69 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.312, allocations: 83.33 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.3133, allocations: 0.6564 MB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007752/0.3141, allocations: 0.7954 MB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.3143, allocations: 76.7 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.3146, allocations: 295.3 kB / 1.024 GB, free: 4.902 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.3149, allocations: 275.1 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.814e-05/0.315, allocations: 72 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.3152, allocations: 87.98 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.3153, allocations: 67.77 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.3155, allocations: 267 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.3161, allocations: 0.6933 MB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3162, allocations: 4 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3162, allocations: 4 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.3162, allocations: 0 / 1.025 GB, free: 3.445 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.001418/0.3176, allocations: 0.8709 MB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3176, allocations: 12.58 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.3178, allocations: 48.56 kB / 1.026 GB, free: 2.426 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.3191, allocations: 467.3 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.3192, allocations: 28.38 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3193, allocations: 48.36 kB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.3198, allocations: 217.9 kB / 1.027 GB, free: 1.633 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3199, allocations: 7.875 kB / 1.027 GB, free: 1.625 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.3199, allocations: 11.98 kB / 1.027 GB, free: 1.613 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3199, allocations: 8 kB / 1.027 GB, free: 1.605 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.3202, allocations: 123.9 kB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.3214, allocations: 0.9491 MB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.3221, allocations: 232.2 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.3223, allocations: 110.5 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3224, allocations: 0 / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005691/0.3229, allocations: 298.9 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.3229, allocations: 0 / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37): time 0.001078/0.324, allocations: 450.8 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.3241, allocations: 118.8 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.3244, allocations: 258.9 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.486e-05/0.3245, allocations: 49.7 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3246, allocations: 156.9 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.3247, allocations: 102.6 kB / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.325, allocations: 158 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3251, allocations: 342.8 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.3257, allocations: 228.9 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/0.3263, allocations: 384.7 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008759/0.3272, allocations: 0.5746 MB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3272, allocations: 0 / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001505/0.3287, allocations: 0.8434 MB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.3288, allocations: 186.2 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3288, allocations: 4 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3288, allocations: 7.938 kB / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.3291, allocations: 56.28 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.3291, allocations: 7.938 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/0.33, allocations: 179.5 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.868e-05/0.3301, allocations: 43.97 kB / 1.032 GB, free: 11.41 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.0002053/0.3303, allocations: 176.1 kB / 1.032 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.3303, allocations: 27.62 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.048e-05/0.3304, allocations: 41.8 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3304, allocations: 4 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3304, allocations: 0 / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.3304, allocations: 4.188 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.3317, allocations: 0.9207 MB / 1.033 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.3317, allocations: 3.938 kB / 1.033 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.332, allocations: 47.91 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.332, allocations: 0 / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.332, allocations: 11.98 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.332, allocations: 8 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.332, allocations: 0 / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.3331, allocations: 0.7172 MB / 1.034 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.3332, allocations: 108.7 kB / 1.034 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.3332, allocations: 15.94 kB / 1.034 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.3335, allocations: 15.97 kB / 1.034 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.3336, allocations: 27.97 kB / 1.034 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.3336, allocations: 15.98 kB / 1.034 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001549/0.3338, allocations: 178 kB / 1.035 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3338, allocations: 0 / 1.035 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005141/0.3343, allocations: 115.9 kB / 1.035 GB, free: 8.883 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.0002102/0.3345, allocations: 131.2 kB / 1.035 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.3358, allocations: 0.8284 MB / 1.036 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3358, allocations: 4.25 kB / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.3361, allocations: 155.8 kB / 1.036 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/0.3369, allocations: 117.6 kB / 1.036 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.338, allocations: 0.5956 MB / 1.036 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.3383, allocations: 0.7689 MB / 1.037 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001815/0.3385, allocations: 51.27 kB / 1.037 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/0.3386, allocations: 39.42 kB / 1.037 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3386, allocations: 4 kB / 1.037 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of Templates: time 0.01212/0.3507, allocations: 6.978 MB / 1.044 GB, free: 15.17 MB / 0.8262 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 -s gbode -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) Reference file matches