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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 217.5 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.8 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.55 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 169.9 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00255/0.3415, allocations: 1.31 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.3439, allocations: 1.726 MB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.3441, allocations: 4 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.465e-05/0.3441, allocations: 23.67 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.3444, allocations: 91.34 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.3459, allocations: 0.6591 MB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000802/0.3467, allocations: 0.7525 MB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.3469, allocations: 52.84 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.3472, allocations: 299.3 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.3476, allocations: 287 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.3477, allocations: 72 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.3478, allocations: 87.98 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.3479, allocations: 79.69 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.3482, allocations: 255.1 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007058/0.3489, allocations: 0.7012 MB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3489, allocations: 0 / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3489, allocations: 4 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3489, allocations: 0 / 1.29 GB, free: 5.352 MB / 0.9825 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.00146/0.3504, allocations: 0.8692 MB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3504, allocations: 8.031 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.3505, allocations: 46.73 kB / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.3506, allocations: 52.75 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.3519, allocations: 397 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.352, allocations: 32.36 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-05/0.3521, allocations: 40.38 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005906/0.3527, allocations: 228.2 kB / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3527, allocations: 3.938 kB / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.3527, allocations: 8 kB / 1.291 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3527, allocations: 4 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.3531, allocations: 119.9 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.3544, allocations: 0.921 MB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.3551, allocations: 220.1 kB / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.3554, allocations: 106.5 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3554, allocations: 0 / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006642/0.3561, allocations: 298.9 kB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.433e-06/0.3561, allocations: 0 / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001211/0.3573, allocations: 453.1 kB / 1.293 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.3574, allocations: 130.7 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.3577, allocations: 264.1 kB / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.3578, allocations: 49.7 kB / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.3579, allocations: 153 kB / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.358, allocations: 107.2 kB / 1.294 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.3583, allocations: 154 kB / 1.294 GB, free: 464 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3585, allocations: 346.8 kB / 1.294 GB, free: 108 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/0.3591, allocations: 224.9 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/0.3598, allocations: 384.3 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009884/0.3608, allocations: 0.581 MB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3608, allocations: 0 / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001679/0.3625, allocations: 0.8513 MB / 1.296 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.3627, allocations: 186.2 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3627, allocations: 7.938 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.3627, allocations: 8.375 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.363, allocations: 59.83 kB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.363, allocations: 4.078 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008877/0.3639, allocations: 179.6 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.43e-05/0.3639, allocations: 47.95 kB / 1.297 GB, free: 13.37 MB / 0.9981 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.0002561/0.3642, allocations: 171.5 kB / 1.297 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.3643, allocations: 39.77 kB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.636e-05/0.3643, allocations: 37.73 kB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3643, allocations: 11.94 kB / 1.297 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3643, allocations: 0 / 1.297 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3643, allocations: 0 / 1.297 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.3658, allocations: 0.8903 MB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3658, allocations: 0 / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.3661, allocations: 39.91 kB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.3661, allocations: 4 kB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.3661, allocations: 15.98 kB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3661, allocations: 0 / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3661, allocations: 4 kB / 1.298 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.3673, allocations: 0.7083 MB / 1.299 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.3674, allocations: 43.73 kB / 1.299 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.3674, allocations: 11.94 kB / 1.299 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.3677, allocations: 15.98 kB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/0.3678, allocations: 23.95 kB / 1.299 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.3678, allocations: 19.98 kB / 1.299 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002129/0.368, allocations: 183.1 kB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.368, allocations: 0 / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006223/0.3686, allocations: 116.1 kB / 1.299 GB, free: 10.97 MB / 0.9981 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.00178/0.3704, allocations: 1.27 MB / 1.3 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.3718, allocations: 0.7541 MB / 1.301 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3718, allocations: 0 / 1.301 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.3722, allocations: 146.8 kB / 1.301 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00079/0.373, allocations: 120 kB / 1.301 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006695/0.3797, allocations: 4.257 MB / 1.306 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.3801, allocations: 0.7765 MB / 1.306 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.3803, allocations: 59.27 kB / 1.306 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.3804, allocations: 115.3 kB / 1.307 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/0.3804, allocations: 0 / 1.307 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/0.4227, allocations: 10.24 MB / 1.317 GB, free: 9.129 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.18, allocations: 6.125 kB / 1.317 GB, free: 9.125 MB / 1.014 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.163465762976557]