Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001672/0.001672, allocations: 109.1 kB / 15.99 MB, free: 6.355 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.001879/0.001879, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.537/2.537, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 63.58 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3398, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002724/0.3425, allocations: 1.337 MB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3449, allocations: 1.685 MB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-05/0.345, allocations: 4 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.747e-05/0.3451, allocations: 11.81 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.3453, allocations: 71.52 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.3468, allocations: 0.5991 MB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008218/0.3476, allocations: 0.7915 MB / 1.069 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.3478, allocations: 72.72 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.3481, allocations: 303.3 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.3484, allocations: 243.1 kB / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.3485, allocations: 72 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.3487, allocations: 83.98 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.3488, allocations: 75.7 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.3491, allocations: 267 kB / 1.07 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.3496, allocations: 0.5147 MB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3496, allocations: 0 / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3497, allocations: 4 kB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3497, allocations: 0 / 1.07 GB, free: 8.949 MB / 0.8419 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.001445/0.3511, allocations: 0.8633 MB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3512, allocations: 8.031 kB / 1.071 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.3513, allocations: 44.66 kB / 1.071 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.3528, allocations: 471.2 kB / 1.071 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/0.3528, allocations: 28.38 kB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.3529, allocations: 40.38 kB / 1.072 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.3534, allocations: 222.3 kB / 1.072 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3535, allocations: 3.938 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.3535, allocations: 7.938 kB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.3535, allocations: 11.98 kB / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.3538, allocations: 119.9 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.3552, allocations: 0.9608 MB / 1.073 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006904/0.3559, allocations: 228.1 kB / 1.073 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.3562, allocations: 106.5 kB / 1.073 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.3562, allocations: 7.938 kB / 1.073 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005996/0.3568, allocations: 293.3 kB / 1.073 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/0.3569, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.001182/0.358, allocations: 462.1 kB / 1.074 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.3581, allocations: 114.8 kB / 1.074 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.3584, allocations: 258.9 kB / 1.074 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/0.3585, allocations: 49.7 kB / 1.074 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.3587, allocations: 164.8 kB / 1.074 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.3588, allocations: 98.61 kB / 1.075 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.3591, allocations: 154 kB / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3593, allocations: 346.8 kB / 1.075 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005411/0.3598, allocations: 220.9 kB / 1.075 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.3605, allocations: 388.6 kB / 1.076 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009638/0.3615, allocations: 0.5697 MB / 1.076 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.3615, allocations: 4 kB / 1.076 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00163/0.3631, allocations: 0.8482 MB / 1.077 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.3633, allocations: 186.2 kB / 1.077 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3633, allocations: 4 kB / 1.077 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.3633, allocations: 11.94 kB / 1.077 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.3636, allocations: 51.89 kB / 1.077 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3636, allocations: 7.938 kB / 1.077 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009078/0.3645, allocations: 187.6 kB / 1.077 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.3646, allocations: 43.97 kB / 1.077 GB, free: 0.9141 MB / 0.8419 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.0002723/0.3649, allocations: 179.4 kB / 1.078 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.3649, allocations: 31.62 kB / 1.078 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.365, allocations: 37.8 kB / 1.078 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.365, allocations: 4 kB / 1.078 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.365, allocations: 0 / 1.078 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3651, allocations: 4 kB / 1.078 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4555/0.8206, allocations: 0.9112 MB / 1.079 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.8206, allocations: 2.422 kB / 1.079 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.8209, allocations: 45.3 kB / 1.079 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.8209, allocations: 1.719 kB / 1.079 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.8209, allocations: 11.97 kB / 1.079 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.821, allocations: 3.766 kB / 1.079 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.821, allocations: 0.9062 kB / 1.079 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.8221, allocations: 0.7097 MB / 1.079 GB, free: 21.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.8222, allocations: 109.1 kB / 1.079 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.8223, allocations: 12.23 kB / 1.079 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.8225, allocations: 19.41 kB / 1.079 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.8226, allocations: 32.05 kB / 1.079 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.8226, allocations: 17.92 kB / 1.08 GB, free: 21.53 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000181/0.8228, allocations: 181 kB / 1.08 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8228, allocations: 2.719 kB / 1.08 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007023/0.8235, allocations: 112.2 kB / 1.08 GB, free: 21.45 MB / 0.8419 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.0001944/0.8237, allocations: 130.5 kB / 1.08 GB, free: 21.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.825, allocations: 0.8525 MB / 1.081 GB, free: 20.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.825, allocations: 0 / 1.081 GB, free: 20.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.8254, allocations: 170.6 kB / 1.081 GB, free: 20.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.8261, allocations: 112.2 kB / 1.081 GB, free: 20.97 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.8272, allocations: 0.7079 MB / 1.082 GB, free: 20.58 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.8274, allocations: 0.7769 MB / 1.082 GB, free: 19.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/0.8275, allocations: 40.97 kB / 1.083 GB, free: 19.87 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.8276, allocations: 1.281 kB / 1.083 GB, free: 19.87 MB / 0.8419 GB Notification: Performance of Templates: time 0.01121/0.8388, allocations: 5.745 MB / 1.088 GB, free: 19.38 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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