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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008226/0.008234, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.002515/0.002515, allocations: 199 kB / 16.68 MB, free: 5.914 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.583/2.583, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.91 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3545, allocations: 151.6 MB / 1.166 GB, free: 7.215 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003034/0.3576, allocations: 1.291 MB / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.3603, allocations: 1.693 MB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.3605, allocations: 4 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.81e-05/0.3606, allocations: 23.62 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.3609, allocations: 91.33 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.3624, allocations: 0.6454 MB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.3634, allocations: 0.7954 MB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.3636, allocations: 76.69 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/0.3641, allocations: 299.3 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.3645, allocations: 283 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.3647, allocations: 68 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.3649, allocations: 91.92 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.365, allocations: 71.81 kB / 1.172 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.3654, allocations: 263 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008678/0.3663, allocations: 0.693 MB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3663, allocations: 0 / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3663, allocations: 0 / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.3663, allocations: 0 / 1.172 GB, free: 0.8398 MB / 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.001514/0.3678, allocations: 0.8633 MB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3679, allocations: 12.03 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.392e-05/0.3679, allocations: 58.67 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3681, allocations: 48.55 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.3695, allocations: 459.4 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.3696, allocations: 32.23 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.3697, allocations: 48.36 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.3702, allocations: 213.6 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3702, allocations: 3.938 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.3703, allocations: 7.984 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3703, allocations: 4 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.3706, allocations: 119.9 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.3721, allocations: 0.9491 MB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.3728, allocations: 232.2 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.3731, allocations: 106.5 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.3731, allocations: 8 kB / 1.176 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006001/0.3737, allocations: 285.6 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 2.234e-06/0.3737, allocations: 0 / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001163/0.3749, allocations: 463.2 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.375, allocations: 110.8 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.3753, allocations: 270.9 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.637e-05/0.3754, allocations: 45.7 kB / 1.177 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3755, allocations: 160.9 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.566e-05/0.3756, allocations: 98.61 kB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.3759, allocations: 158 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.3761, allocations: 346.8 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.3767, allocations: 224.8 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.3773, allocations: 388.5 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/0.3782, allocations: 0.5798 MB / 1.179 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3782, allocations: 4 kB / 1.179 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001652/0.3799, allocations: 0.8429 MB / 1.179 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.3801, allocations: 186.2 kB / 1.18 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3801, allocations: 7.938 kB / 1.18 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3801, allocations: 4 kB / 1.18 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.3803, allocations: 51.91 kB / 1.18 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.3804, allocations: 19.92 kB / 1.18 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/0.3813, allocations: 175.5 kB / 1.18 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.492e-05/0.3814, allocations: 39.97 kB / 1.18 GB, free: 8.75 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.000222/0.3816, allocations: 183.4 kB / 1.18 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.3817, allocations: 31.62 kB / 1.18 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.728e-05/0.3818, allocations: 37.8 kB / 1.18 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3818, allocations: 4 kB / 1.18 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3818, allocations: 0 / 1.18 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3818, allocations: 3.984 kB / 1.18 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.3831, allocations: 0.9146 MB / 1.181 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.3831, allocations: 0 / 1.181 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.3834, allocations: 47.89 kB / 1.181 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.3834, allocations: 4 kB / 1.181 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.3834, allocations: 8 kB / 1.181 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3834, allocations: 7.984 kB / 1.181 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3834, allocations: 4 kB / 1.181 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3845, allocations: 0.7165 MB / 1.182 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.3846, allocations: 108.7 kB / 1.182 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.3847, allocations: 8 kB / 1.182 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3849, allocations: 20.02 kB / 1.182 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.385, allocations: 27.97 kB / 1.182 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.385, allocations: 15.98 kB / 1.182 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001713/0.3852, allocations: 186 kB / 1.182 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3852, allocations: 0 / 1.182 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005188/0.3858, allocations: 116 kB / 1.182 GB, free: 6.211 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.001463/0.3872, allocations: 1.273 MB / 1.183 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.3885, allocations: 0.834 MB / 1.184 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3885, allocations: 4 kB / 1.184 GB, free: 4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.3889, allocations: 155.8 kB / 1.184 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.3897, allocations: 124.2 kB / 1.184 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007997/0.3977, allocations: 4.254 MB / 1.189 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.3982, allocations: 0.7728 MB / 1.189 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002454/0.3984, allocations: 59.45 kB / 1.189 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.3986, allocations: 115.4 kB / 1.19 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.3986, allocations: 0 / 1.19 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.4317, allocations: 9.907 MB / 1.199 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.646, allocations: 5.5 kB / 1.199 GB, free: 4.566 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > 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) Reference file matches