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.001824/0.001824, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002456/0.002456, allocations: 212 kB / 20.13 MB, free: 2.949 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.627/1.627, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.862/2.862, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="cs",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.002042/0.002042, allocations: 75.89 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8668/0.8689, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003614/0.8725, allocations: 1.295 MB / 1.28 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003663/0.8761, allocations: 1.732 MB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.8763, allocations: 2.938 kB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.8765, allocations: 21.7 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.8768, allocations: 100.6 kB / 1.282 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.8799, allocations: 0.6445 MB / 1.283 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.8814, allocations: 0.7541 MB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.8816, allocations: 44.86 kB / 1.283 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/0.8822, allocations: 302.3 kB / 1.284 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006814/0.8829, allocations: 285.3 kB / 1.284 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.883, allocations: 71.56 kB / 1.284 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.8833, allocations: 84.47 kB / 1.284 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.8834, allocations: 72.12 kB / 1.284 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004791/0.8839, allocations: 265.4 kB / 1.285 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.8853, allocations: 0.6998 MB / 1.285 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8853, allocations: 0 / 1.285 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8853, allocations: 0 / 1.285 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.8853, allocations: 0 / 1.285 GB, free: 8.109 MB / 0.9981 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.002166/0.8874, allocations: 0.8743 MB / 1.286 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.8875, allocations: 9.25 kB / 1.286 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.936e-05/0.8875, allocations: 7.719 kB / 1.286 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.733e-05/0.8876, allocations: 49.53 kB / 1.286 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.8878, allocations: 48.28 kB / 1.286 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.8904, allocations: 459.1 kB / 1.287 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.8904, allocations: 29.27 kB / 1.287 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.8906, allocations: 44.72 kB / 1.287 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.8915, allocations: 223.1 kB / 1.287 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.8915, allocations: 0 / 1.287 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.8915, allocations: 8.328 kB / 1.287 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.8915, allocations: 7.766 kB / 1.287 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.8922, allocations: 131.2 kB / 1.287 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.8945, allocations: 0.9528 MB / 1.288 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.8957, allocations: 221.4 kB / 1.288 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004741/0.8962, allocations: 101.6 kB / 1.288 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.8962, allocations: 4.953 kB / 1.288 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009995/0.8972, allocations: 294.5 kB / 1.289 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 3.156e-06/0.8972, allocations: 0 / 1.289 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.002177/0.8994, allocations: 464.2 kB / 1.289 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.8995, allocations: 112.8 kB / 1.289 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.9, allocations: 273.1 kB / 1.289 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.9001, allocations: 50.56 kB / 1.289 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.9004, allocations: 151.2 kB / 1.29 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.9005, allocations: 113 kB / 1.29 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/0.901, allocations: 152.8 kB / 1.29 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002367/0.9012, allocations: 341.2 kB / 1.29 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.9023, allocations: 226 kB / 1.29 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.9035, allocations: 384.9 kB / 1.291 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.9053, allocations: 0.5776 MB / 1.291 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.9053, allocations: 4.938 kB / 1.291 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003066/0.9084, allocations: 0.8547 MB / 1.292 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002039/0.9086, allocations: 191.9 kB / 1.292 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.9086, allocations: 2.781 kB / 1.292 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.9086, allocations: 5.125 kB / 1.292 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.909, allocations: 50.52 kB / 1.292 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.909, allocations: 10.52 kB / 1.292 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.9108, allocations: 181.4 kB / 1.293 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.911, allocations: 46.8 kB / 1.293 GB, free: 3.305 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.0004093/0.9114, allocations: 169 kB / 1.293 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.9115, allocations: 36.25 kB / 1.293 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.9116, allocations: 31.88 kB / 1.293 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.9116, allocations: 4.531 kB / 1.293 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.9116, allocations: 1.859 kB / 1.293 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.9116, allocations: 10.62 kB / 1.293 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.9142, allocations: 0.9148 MB / 1.294 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9142, allocations: 1.75 kB / 1.294 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.9146, allocations: 46.8 kB / 1.294 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.9146, allocations: 2.406 kB / 1.294 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.9147, allocations: 11.06 kB / 1.294 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.9147, allocations: 2.125 kB / 1.294 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9147, allocations: 1.125 kB / 1.294 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.9169, allocations: 0.723 MB / 1.294 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.917, allocations: 102.2 kB / 1.295 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/0.9171, allocations: 10.12 kB / 1.295 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.9175, allocations: 19.03 kB / 1.295 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.9177, allocations: 37.86 kB / 1.295 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/0.9177, allocations: 18.91 kB / 1.295 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003643/0.9181, allocations: 180.7 kB / 1.295 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9181, allocations: 0 / 1.295 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00134/0.9194, allocations: 116.7 kB / 1.295 GB, free: 1.766 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.003028/0.9225, allocations: 1.274 MB / 1.296 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003002/0.9255, allocations: 0.7551 MB / 1.297 GB, free: 284 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.9255, allocations: 1.531 kB / 1.297 GB, free: 284 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007658/0.9262, allocations: 147.3 kB / 1.297 GB, free: 240 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.9277, allocations: 117.1 kB / 1.297 GB, free: 192 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.9408, allocations: 4.269 MB / 1.301 GB, free: 13.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/0.9415, allocations: 0.7756 MB / 1.302 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004637/0.942, allocations: 54.67 kB / 1.302 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.9423, allocations: 113.8 kB / 1.302 GB, free: 12.66 MB / 1.014 GB Notification: Performance of SimCode: time 1.973e-06/0.9423, allocations: 0 / 1.302 GB, free: 12.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04836/0.9906, allocations: 9.992 MB / 1.312 GB, free: 10.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.086/10.08, allocations: 17.17 kB / 1.312 GB, free: 10.56 MB / 1.014 GB " [Timeout remaining time 290] (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: 16.631855890969746]