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.008012/0.008012, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001748/0.001748, allocations: 196.4 kB / 16.79 MB, free: 5.809 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.5 MB, free: 4.586 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.712/2.712, allocations: 437 MB / 0.7106 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 67.89 kB / 0.8692 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.7311, allocations: 151.6 MB / 1.017 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002894/0.734, allocations: 1.347 MB / 1.019 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.7367, allocations: 1.775 MB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.7369, allocations: 8 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.7371, allocations: 11.81 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.7374, allocations: 67.53 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.739, allocations: 0.6008 MB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008392/0.7398, allocations: 0.6665 MB / 1.022 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.7401, allocations: 68.7 kB / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005049/0.7406, allocations: 251.3 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.741, allocations: 223.1 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.7413, allocations: 40 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.7415, allocations: 47.98 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.7416, allocations: 63.69 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.742, allocations: 227.1 kB / 1.023 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.7425, allocations: 0.5125 MB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7426, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7426, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.7426, allocations: 0 / 1.023 GB, free: 13.02 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.001664/0.7443, allocations: 0.8748 MB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.7443, allocations: 15.98 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.7445, allocations: 44.56 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.7461, allocations: 479.1 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-05/0.7462, allocations: 32.36 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.7463, allocations: 40.38 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.7468, allocations: 221.7 kB / 1.025 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.7468, allocations: 3.938 kB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.7469, allocations: 8 kB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.7469, allocations: 4 kB / 1.025 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.7473, allocations: 119.9 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.7487, allocations: 0.9647 MB / 1.026 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.7494, allocations: 228.1 kB / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.7497, allocations: 106.5 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.7497, allocations: 7.984 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006402/0.7504, allocations: 285.3 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/0.7504, allocations: 0 / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001231/0.7516, allocations: 459.2 kB / 1.027 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.327e-05/0.7517, allocations: 114.9 kB / 1.027 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.752, allocations: 266.9 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.7521, allocations: 49.69 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.7523, allocations: 156.9 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.7524, allocations: 102.6 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.7527, allocations: 150 kB / 1.028 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7529, allocations: 338.8 kB / 1.028 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005904/0.7535, allocations: 232.8 kB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006741/0.7541, allocations: 394.6 kB / 1.029 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/0.7551, allocations: 0.5698 MB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.7551, allocations: 0 / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001681/0.7568, allocations: 0.8444 MB / 1.03 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.757, allocations: 190.1 kB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.757, allocations: 4.375 kB / 1.03 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.757, allocations: 11.94 kB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.7573, allocations: 56.08 kB / 1.03 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.7573, allocations: 4 kB / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009848/0.7583, allocations: 175.4 kB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.7585, allocations: 51.95 kB / 1.03 GB, free: 4.965 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.0002828/0.7587, allocations: 172 kB / 1.031 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.7588, allocations: 35.61 kB / 1.031 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.289e-05/0.7589, allocations: 37.8 kB / 1.031 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.7589, allocations: 4 kB / 1.031 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.7589, allocations: 8 kB / 1.031 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.759, allocations: 3.984 kB / 1.031 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.7604, allocations: 0.9221 MB / 1.032 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7604, allocations: 0 / 1.032 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.7607, allocations: 35.97 kB / 1.032 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.7607, allocations: 4 kB / 1.032 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.7607, allocations: 19.92 kB / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.7607, allocations: 4 kB / 1.032 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7607, allocations: 0 / 1.032 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.762, allocations: 0.7079 MB / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.907e-05/0.7621, allocations: 104.7 kB / 1.032 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.7621, allocations: 16.03 kB / 1.032 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.7624, allocations: 15.98 kB / 1.032 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.7625, allocations: 35.83 kB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.7625, allocations: 19.98 kB / 1.032 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000193/0.7627, allocations: 174 kB / 1.033 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7627, allocations: 8 kB / 1.033 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006737/0.7634, allocations: 108 kB / 1.033 GB, free: 2.434 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.0002295/0.7637, allocations: 128.8 kB / 1.033 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.7652, allocations: 0.8359 MB / 1.034 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7652, allocations: 0 / 1.034 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.7656, allocations: 164.9 kB / 1.034 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008098/0.7664, allocations: 113.9 kB / 1.034 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.7678, allocations: 0.7011 MB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.7682, allocations: 0.7769 MB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.7683, allocations: 39.42 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of SimCode: time 5.91e-07/0.7683, allocations: 0 / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of Templates: time 0.01009/0.7784, allocations: 5.729 MB / 1.041 GB, free: 9.859 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/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