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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.01056/0.01056, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.002142/0.002143, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.744/2.744, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 59.91 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4007, allocations: 151.6 MB / 1.167 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002589/0.4033, allocations: 1.295 MB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.4057, allocations: 1.701 MB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.4058, allocations: 4 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.514e-05/0.4059, allocations: 19.69 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.4062, allocations: 91.33 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.4076, allocations: 0.6519 MB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007417/0.4083, allocations: 0.7954 MB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.4085, allocations: 72.7 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.4088, allocations: 299.3 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.4092, allocations: 283 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.4093, allocations: 72 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.4095, allocations: 91.98 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.4096, allocations: 59.83 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.4098, allocations: 271 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006127/0.4105, allocations: 0.6931 MB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4105, allocations: 4 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4105, allocations: 0 / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.4105, allocations: 0 / 1.173 GB, free: 348 kB / 0.92 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.001349/0.4118, allocations: 0.8748 MB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.4119, allocations: 11.98 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.4121, allocations: 48.75 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.4134, allocations: 467.5 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.4135, allocations: 28.23 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.4136, allocations: 52.3 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.4141, allocations: 217.8 kB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4141, allocations: 3.938 kB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.4141, allocations: 11.98 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.4141, allocations: 4 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.4145, allocations: 115.9 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.4157, allocations: 0.9609 MB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.4164, allocations: 224.2 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.4166, allocations: 114.5 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.4167, allocations: 0 / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005705/0.4173, allocations: 293.6 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.4173, allocations: 0 / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001111/0.4184, allocations: 459.7 kB / 1.177 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.4185, allocations: 110.8 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.4187, allocations: 263 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.799e-05/0.4188, allocations: 49.7 kB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.419, allocations: 149 kB / 1.177 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-05/0.4191, allocations: 115.1 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.4193, allocations: 154 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4195, allocations: 346.8 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.42, allocations: 228.7 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.4206, allocations: 392.6 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/0.4215, allocations: 0.5794 MB / 1.179 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4215, allocations: 0 / 1.179 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001497/0.423, allocations: 0.8391 MB / 1.18 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.4231, allocations: 186.2 kB / 1.18 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.4232, allocations: 7.984 kB / 1.18 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.4232, allocations: 7.938 kB / 1.18 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.4234, allocations: 47.91 kB / 1.18 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4234, allocations: 7.938 kB / 1.18 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008526/0.4243, allocations: 179.7 kB / 1.18 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/0.4244, allocations: 43.97 kB / 1.18 GB, free: 8.293 MB / 0.9356 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.0002215/0.4246, allocations: 175.5 kB / 1.18 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.4247, allocations: 31.77 kB / 1.18 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.522e-05/0.4247, allocations: 37.8 kB / 1.18 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4248, allocations: 4 kB / 1.18 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.4248, allocations: 192 / 1.18 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4248, allocations: 4 kB / 1.18 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.4261, allocations: 0.9311 MB / 1.181 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4261, allocations: 4 kB / 1.181 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.4263, allocations: 43.91 kB / 1.181 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4263, allocations: 4 kB / 1.181 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.4264, allocations: 11.98 kB / 1.181 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4264, allocations: 4 kB / 1.181 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4264, allocations: 0 / 1.181 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.4275, allocations: 0.7312 MB / 1.182 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.4276, allocations: 108.9 kB / 1.182 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.4276, allocations: 8 kB / 1.182 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.4278, allocations: 11.98 kB / 1.182 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.4279, allocations: 31.95 kB / 1.182 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.428, allocations: 23.98 kB / 1.182 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001577/0.4281, allocations: 178 kB / 1.183 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4281, allocations: 0 / 1.183 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000506/0.4286, allocations: 112 kB / 1.183 GB, free: 5.742 MB / 0.9356 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.0002185/0.4289, allocations: 123.1 kB / 1.183 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.4302, allocations: 0.8359 MB / 1.184 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4302, allocations: 0 / 1.184 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.4305, allocations: 166.3 kB / 1.184 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.4312, allocations: 117.1 kB / 1.184 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4323, allocations: 0.5984 MB / 1.184 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.4326, allocations: 0.7689 MB / 1.185 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.4328, allocations: 59.34 kB / 1.185 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.4329, allocations: 39.42 kB / 1.185 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.4329, allocations: 0 / 1.185 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of Templates: time 0.01297/0.4459, allocations: 7.01 MB / 1.192 GB, free: 11.98 MB / 0.9512 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