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.008832/0.008832, allocations: 97.42 kB / 15.73 MB, free: 6.055 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.001577/0.001577, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.477/2.477, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.12 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.064, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002432/1.066, allocations: 1.295 MB / 1.168 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002399/1.069, allocations: 1.701 MB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/1.069, allocations: 4 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.141e-05/1.069, allocations: 19.69 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002275/1.069, allocations: 79.33 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/1.071, allocations: 0.6556 MB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007523/1.072, allocations: 0.7993 MB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/1.072, allocations: 68.7 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/1.072, allocations: 295.4 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/1.072, allocations: 279.1 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/1.073, allocations: 72 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/1.073, allocations: 83.98 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.138e-05/1.073, allocations: 71.7 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/1.073, allocations: 263.1 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006596/1.074, allocations: 0.698 MB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.074, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/1.074, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.705e-06/1.074, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 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.001347/1.075, allocations: 0.8709 MB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.075, allocations: 20.88 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/1.075, allocations: 44.75 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/1.077, allocations: 467.5 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/1.077, allocations: 32.23 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.221e-05/1.077, allocations: 44.36 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/1.077, allocations: 213.8 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/1.077, allocations: 11.88 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/1.077, allocations: 7.984 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.077, allocations: 4 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/1.078, allocations: 119.9 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/1.079, allocations: 0.961 MB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/1.08, allocations: 232.1 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/1.08, allocations: 102.5 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/1.08, allocations: 12 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/1.08, allocations: 283.2 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 3.386e-06/1.081, allocations: 0 / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001176/1.082, allocations: 465.1 kB / 1.177 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.933e-05/1.082, allocations: 110.8 kB / 1.177 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/1.082, allocations: 267 kB / 1.177 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/1.082, allocations: 45.7 kB / 1.177 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/1.082, allocations: 161 kB / 1.177 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/1.082, allocations: 103.2 kB / 1.177 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/1.083, allocations: 154 kB / 1.177 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.083, allocations: 350.8 kB / 1.178 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/1.083, allocations: 216.9 kB / 1.178 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/1.084, allocations: 396.5 kB / 1.178 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/1.085, allocations: 0.5705 MB / 1.179 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.085, allocations: 4 kB / 1.179 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001522/1.087, allocations: 0.8412 MB / 1.18 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/1.087, allocations: 186.6 kB / 1.18 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.087, allocations: 11.98 kB / 1.18 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.087, allocations: 7.938 kB / 1.18 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/1.087, allocations: 51.84 kB / 1.18 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.087, allocations: 8 kB / 1.18 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009254/1.088, allocations: 179.6 kB / 1.18 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/1.088, allocations: 43.97 kB / 1.18 GB, free: 5.391 MB / 0.9044 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.0002279/1.088, allocations: 179.4 kB / 1.18 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/1.088, allocations: 35.77 kB / 1.18 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.627e-05/1.088, allocations: 45.73 kB / 1.18 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.088, allocations: 4 kB / 1.18 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.088, allocations: 0 / 1.18 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.088, allocations: 0 / 1.18 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/1.09, allocations: 0.922 MB / 1.181 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.09, allocations: 0 / 1.181 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/1.09, allocations: 43.84 kB / 1.181 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/1.09, allocations: 4 kB / 1.181 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/1.09, allocations: 11.98 kB / 1.181 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.09, allocations: 4 kB / 1.181 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.09, allocations: 4 kB / 1.181 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/1.091, allocations: 0.7161 MB / 1.182 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/1.091, allocations: 108.9 kB / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/1.091, allocations: 8 kB / 1.182 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/1.091, allocations: 19.98 kB / 1.182 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/1.092, allocations: 27.95 kB / 1.182 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/1.092, allocations: 19.98 kB / 1.182 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001574/1.092, allocations: 178 kB / 1.182 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.092, allocations: 4 kB / 1.182 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005358/1.092, allocations: 115.9 kB / 1.183 GB, free: 2.852 MB / 0.9044 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.0002337/1.093, allocations: 119.2 kB / 1.183 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00133/1.094, allocations: 0.8362 MB / 1.184 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.094, allocations: 4 kB / 1.184 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/1.094, allocations: 159.8 kB / 1.184 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008063/1.095, allocations: 125 kB / 1.184 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/1.096, allocations: 0.5985 MB / 1.184 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/1.097, allocations: 0.7689 MB / 1.185 GB, free: 108 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001849/1.097, allocations: 59.27 kB / 1.185 GB, free: 52 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/1.097, allocations: 39.42 kB / 1.185 GB, free: 12 kB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/1.097, allocations: 7.875 kB / 1.185 GB, free: 4 kB / 0.9044 GB Notification: Performance of Templates: time 0.01164/1.109, allocations: 7.002 MB / 1.192 GB, free: 9.094 MB / 0.92 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