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.0007993/0.0007993, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009622/0.0009623, allocations: 175.8 kB / 16.92 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.285 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.702/2.702, allocations: 437.8 MB / 0.7128 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.000417, allocations: 19.98 kB / 0.8735 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.701, allocations: 153.8 MB / 1.024 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001455/0.7025, allocations: 0.9851 MB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002535/0.7051, allocations: 1.76 MB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.7053, allocations: 4 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.885e-05/0.7054, allocations: 11.81 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.7057, allocations: 71.53 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.7074, allocations: 0.5982 MB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008589/0.7083, allocations: 0.6704 MB / 1.028 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.7085, allocations: 68.7 kB / 1.028 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005166/0.709, allocations: 247.3 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.7095, allocations: 207.2 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.7096, allocations: 32 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.7098, allocations: 47.98 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.7099, allocations: 59.69 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.7103, allocations: 244.8 kB / 1.029 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005874/0.7109, allocations: 0.5046 MB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7109, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7109, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.7109, allocations: 0 / 1.029 GB, free: 10.48 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.001353/0.7123, allocations: 0.7853 MB / 1.03 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7123, allocations: 11.98 kB / 1.03 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.7125, allocations: 48.56 kB / 1.03 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.7141, allocations: 485.5 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.7142, allocations: 28.38 kB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.7144, allocations: 52.27 kB / 1.03 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.7149, allocations: 225.6 kB / 1.031 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.7149, allocations: 3.938 kB / 1.031 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.715, allocations: 11.98 kB / 1.031 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.715, allocations: 0 / 1.031 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.7153, allocations: 119.9 kB / 1.031 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.7167, allocations: 0.9609 MB / 1.032 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.7174, allocations: 240.1 kB / 1.032 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.7177, allocations: 102.5 kB / 1.032 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.7177, allocations: 4 kB / 1.032 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005771/0.7183, allocations: 297.3 kB / 1.032 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.7183, allocations: 0 / 1.032 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001204/0.7195, allocations: 452.8 kB / 1.033 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.7196, allocations: 118.9 kB / 1.033 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.7199, allocations: 266.9 kB / 1.033 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.72, allocations: 49.7 kB / 1.033 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.7202, allocations: 152.9 kB / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.7203, allocations: 98.61 kB / 1.033 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.7205, allocations: 65.69 kB / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.7206, allocations: 342.8 kB / 1.034 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/0.7212, allocations: 228.8 kB / 1.034 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.7219, allocations: 392.6 kB / 1.034 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009781/0.7229, allocations: 0.5674 MB / 1.035 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.7229, allocations: 4 kB / 1.035 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001644/0.7245, allocations: 0.8425 MB / 1.036 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.7247, allocations: 186.2 kB / 1.036 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.7247, allocations: 4 kB / 1.036 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.7247, allocations: 11.92 kB / 1.036 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.725, allocations: 60.22 kB / 1.036 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.725, allocations: 11.98 kB / 1.036 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.726, allocations: 235.4 kB / 1.036 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.695e-05/0.7261, allocations: 47.97 kB / 1.036 GB, free: 2.523 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.0002544/0.7264, allocations: 168 kB / 1.036 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.7265, allocations: 35.62 kB / 1.037 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/0.7266, allocations: 37.8 kB / 1.037 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.7266, allocations: 8 kB / 1.037 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7266, allocations: 0 / 1.037 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.7266, allocations: 8.172 kB / 1.037 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.728, allocations: 0.9167 MB / 1.037 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.728, allocations: 7.938 kB / 1.037 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.7283, allocations: 47.89 kB / 1.038 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.7283, allocations: 0 / 1.038 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.7283, allocations: 15.98 kB / 1.038 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7283, allocations: 0 / 1.038 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7283, allocations: 3.938 kB / 1.038 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.7295, allocations: 0.7079 MB / 1.038 GB, free: 500 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-05/0.7296, allocations: 108.7 kB / 1.038 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.7297, allocations: 16.03 kB / 1.038 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.7299, allocations: 11.98 kB / 1.038 GB, free: 344 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.73, allocations: 27.97 kB / 1.038 GB, free: 316 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.73, allocations: 15.98 kB / 1.038 GB, free: 300 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001692/0.7302, allocations: 182 kB / 1.039 GB, free: 112 kB / 0.7794 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7302, allocations: 0 / 1.039 GB, free: 112 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000652/0.7309, allocations: 108 kB / 1.039 GB, free: 4 kB / 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.0003266/0.7312, allocations: 131.1 kB / 1.039 GB, free: 15.87 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.7327, allocations: 0.8362 MB / 1.04 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7327, allocations: 0 / 1.04 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.7331, allocations: 172.9 kB / 1.04 GB, free: 14.79 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/0.7339, allocations: 116.2 kB / 1.04 GB, free: 14.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.7352, allocations: 0.714 MB / 1.041 GB, free: 13.93 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.7356, allocations: 0.7691 MB / 1.041 GB, free: 13.13 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.9e-05/0.7357, allocations: 47.42 kB / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.7357, allocations: 0 / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of Templates: time 0.01252/0.7482, allocations: 5.705 MB / 1.047 GB, free: 7.426 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