Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001486/0.001486, allocations: 120.9 kB / 17.16 MB, free: 5.914 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.001823/0.001823, allocations: 208 kB / 20.13 MB, free: 2.969 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.591/1.591, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.057/3.057, allocations: 0.5003 GB / 0.8026 GB, free: 6.766 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_latest_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.001989/0.001989, allocations: 71.88 kB / 1.165 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265/1.267, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002541/1.27, allocations: 1.297 MB / 1.341 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002317/1.272, allocations: 1.73 MB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/1.272, allocations: 2.562 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.634e-05/1.272, allocations: 22.5 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/1.272, allocations: 94.98 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/1.274, allocations: 0.6477 MB / 1.344 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008513/1.275, allocations: 0.7536 MB / 1.345 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/1.275, allocations: 49.56 kB / 1.345 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/1.275, allocations: 302.6 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/1.276, allocations: 284.7 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/1.276, allocations: 71.66 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/1.276, allocations: 85.67 kB / 1.345 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/1.276, allocations: 75.5 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003367/1.276, allocations: 257.3 kB / 1.346 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009979/1.277, allocations: 0.7029 MB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.277, allocations: 0 / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.324e-06/1.277, allocations: 0 / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.29e-05/1.277, allocations: 2.391 kB / 1.346 GB, free: 12.58 MB / 1.061 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.001351/1.279, allocations: 0.8697 MB / 1.347 GB, free: 11.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.279, allocations: 14.03 kB / 1.347 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.404e-05/1.279, allocations: 3.531 kB / 1.347 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/1.279, allocations: 53.44 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/1.279, allocations: 49.67 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/1.28, allocations: 459.6 kB / 1.348 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/1.28, allocations: 36.47 kB / 1.348 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/1.281, allocations: 45.44 kB / 1.348 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/1.281, allocations: 217 kB / 1.348 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/1.281, allocations: 1.125 kB / 1.348 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/1.281, allocations: 8.328 kB / 1.348 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/1.281, allocations: 4.219 kB / 1.348 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/1.282, allocations: 125.8 kB / 1.348 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/1.283, allocations: 0.9518 MB / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/1.284, allocations: 219 kB / 1.349 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/1.284, allocations: 102.6 kB / 1.349 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/1.284, allocations: 3.625 kB / 1.349 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006601/1.285, allocations: 300.4 kB / 1.35 GB, free: 10.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/1.285, allocations: 0 / 1.35 GB, free: 10.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001303/1.286, allocations: 463.4 kB / 1.35 GB, free: 10.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/1.286, allocations: 109.1 kB / 1.35 GB, free: 10.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/1.286, allocations: 267.7 kB / 1.351 GB, free: 9.914 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/1.287, allocations: 48.95 kB / 1.351 GB, free: 9.875 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/1.287, allocations: 154.8 kB / 1.351 GB, free: 9.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/1.287, allocations: 108.2 kB / 1.351 GB, free: 9.664 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000298/1.287, allocations: 156.3 kB / 1.351 GB, free: 9.609 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.175e-05/1.287, allocations: 342 kB / 1.351 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/1.288, allocations: 229.8 kB / 1.352 GB, free: 9.207 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006377/1.288, allocations: 385.2 kB / 1.352 GB, free: 8.938 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009345/1.289, allocations: 0.5744 MB / 1.352 GB, free: 8.488 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.289, allocations: 1.344 kB / 1.352 GB, free: 8.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001732/1.291, allocations: 0.8658 MB / 1.353 GB, free: 8.039 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-05/1.291, allocations: 190.5 kB / 1.353 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.291, allocations: 3.922 kB / 1.354 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.291, allocations: 5.625 kB / 1.354 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/1.291, allocations: 53.48 kB / 1.354 GB, free: 7.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.291, allocations: 6.453 kB / 1.354 GB, free: 7.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/1.292, allocations: 177.6 kB / 1.354 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.293, allocations: 42.38 kB / 1.354 GB, free: 7.801 MB / 1.061 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.0002492/1.293, allocations: 177.6 kB / 1.354 GB, free: 7.652 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/1.293, allocations: 40.19 kB / 1.354 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/1.293, allocations: 32.14 kB / 1.354 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.293, allocations: 4.625 kB / 1.354 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.293, allocations: 0.7969 kB / 1.354 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/1.293, allocations: 2.219 kB / 1.354 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/1.294, allocations: 0.9337 MB / 1.355 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.294, allocations: 1.375 kB / 1.355 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/1.295, allocations: 38.73 kB / 1.355 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.295, allocations: 6.125 kB / 1.355 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/1.295, allocations: 11.48 kB / 1.355 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/1.295, allocations: 6.125 kB / 1.355 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.295, allocations: 1.125 kB / 1.355 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/1.296, allocations: 0.7109 MB / 1.356 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/1.296, allocations: 107.4 kB / 1.356 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/1.296, allocations: 9.219 kB / 1.356 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/1.296, allocations: 15.62 kB / 1.356 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/1.296, allocations: 30.12 kB / 1.356 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/1.296, allocations: 22.88 kB / 1.356 GB, free: 6.383 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001979/1.297, allocations: 184.1 kB / 1.356 GB, free: 6.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.297, allocations: 0 / 1.356 GB, free: 6.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001037/1.298, allocations: 113.9 kB / 1.356 GB, free: 6.254 MB / 1.061 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.001417/1.299, allocations: 1.267 MB / 1.357 GB, free: 5.285 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001516/1.301, allocations: 0.7625 MB / 1.358 GB, free: 4.762 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.301, allocations: 0.7812 kB / 1.358 GB, free: 4.762 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/1.301, allocations: 137.1 kB / 1.358 GB, free: 4.727 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008852/1.302, allocations: 121.7 kB / 1.358 GB, free: 4.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/1.309, allocations: 4.275 MB / 1.363 GB, free: 1.949 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/1.309, allocations: 0.7753 MB / 1.363 GB, free: 1.246 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003217/1.309, allocations: 60.33 kB / 1.363 GB, free: 1.227 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/1.31, allocations: 116 kB / 1.363 GB, free: 1.148 MB / 1.061 GB Notification: Performance of SimCode: time 1.793e-06/1.31, allocations: 0 / 1.363 GB, free: 1.148 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/1.344, allocations: 9.972 MB / 1.373 GB, free: 152 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.865/10.21, allocations: 22.91 kB / 1.373 GB, free: 140 kB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.24989730201196]