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.001368/0.001368, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001509/0.001509, allocations: 218.2 kB / 23.03 MB, free: 4.945 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.336/3.336, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 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.002037/0.002037, allocations: 62.89 kB / 1.171 GB, free: 19.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.405, allocations: 179 MB / 1.345 GB, free: 15.9 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003963/0.409, allocations: 1.201 MB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00297/0.412, allocations: 1.705 MB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.4122, allocations: 0 / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.708e-05/0.4123, allocations: 23.62 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.4127, allocations: 99.27 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.4146, allocations: 0.6547 MB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.4158, allocations: 0.7447 MB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.416, allocations: 56.69 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005653/0.4165, allocations: 315.2 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006204/0.4172, allocations: 283 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.4174, allocations: 72 kB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.4177, allocations: 80 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.4178, allocations: 71.77 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003875/0.4182, allocations: 243.2 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.4192, allocations: 0.6973 MB / 1.351 GB, free: 9.672 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4192, allocations: 0 / 1.351 GB, free: 9.672 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4192, allocations: 0 / 1.351 GB, free: 9.672 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.772e-05/0.4193, allocations: 0 / 1.351 GB, free: 9.672 MB / 1.045 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.002234/0.4215, allocations: 0.8653 MB / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/0.4216, allocations: 16.02 kB / 1.352 GB, free: 8.707 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.912e-05/0.4216, allocations: 4.188 kB / 1.352 GB, free: 8.703 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.608e-05/0.4217, allocations: 50.73 kB / 1.352 GB, free: 8.645 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.422, allocations: 52.7 kB / 1.352 GB, free: 8.594 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.4237, allocations: 385.1 kB / 1.353 GB, free: 8.195 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.4237, allocations: 36.23 kB / 1.353 GB, free: 8.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.4239, allocations: 52.31 kB / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.4245, allocations: 216.2 kB / 1.353 GB, free: 7.883 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4245, allocations: 4 kB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.4245, allocations: 7.984 kB / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4246, allocations: 4 kB / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.425, allocations: 123.9 kB / 1.353 GB, free: 7.746 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.4265, allocations: 0.8197 MB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.4272, allocations: 216.2 kB / 1.354 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.4275, allocations: 106.5 kB / 1.354 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.4275, allocations: 0 / 1.354 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000678/0.4282, allocations: 309.2 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 1.904e-06/0.4282, allocations: 0 / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.001286/0.4295, allocations: 467.8 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/0.4296, allocations: 106.8 kB / 1.355 GB, free: 5.609 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.4299, allocations: 272.1 kB / 1.355 GB, free: 5.332 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.744e-05/0.43, allocations: 45.7 kB / 1.355 GB, free: 5.281 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.4302, allocations: 161 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.4303, allocations: 99.2 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.4307, allocations: 154 kB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4309, allocations: 350.7 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/0.4316, allocations: 415 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009288/0.4325, allocations: 0.7541 MB / 1.357 GB, free: 3.156 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.4336, allocations: 0.5861 MB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4336, allocations: 0 / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001919/0.4355, allocations: 1.043 MB / 1.359 GB, free: 1.371 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.4357, allocations: 192.5 kB / 1.359 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4357, allocations: 384 / 1.359 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.4357, allocations: 12 kB / 1.359 GB, free: 1.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.4359, allocations: 51.91 kB / 1.359 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.436, allocations: 7.938 kB / 1.359 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009838/0.4369, allocations: 183.5 kB / 1.359 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.4371, allocations: 43.97 kB / 1.359 GB, free: 0.8555 MB / 1.045 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.0002811/0.4373, allocations: 175.4 kB / 1.359 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-05/0.4374, allocations: 35.75 kB / 1.36 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.695e-05/0.4375, allocations: 37.8 kB / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4375, allocations: 4 kB / 1.36 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4375, allocations: 0 / 1.36 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4375, allocations: 4 kB / 1.36 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.439, allocations: 0.8591 MB / 1.36 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.439, allocations: 4 kB / 1.36 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.4392, allocations: 47.89 kB / 1.36 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4392, allocations: 0 / 1.36 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.4393, allocations: 12 kB / 1.36 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.4393, allocations: 3.984 kB / 1.36 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4393, allocations: 0 / 1.36 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.4407, allocations: 0.721 MB / 1.361 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.4408, allocations: 23.81 kB / 1.361 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.4408, allocations: 8 kB / 1.361 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.4412, allocations: 20.02 kB / 1.361 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.4413, allocations: 31.95 kB / 1.361 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.4413, allocations: 15.98 kB / 1.361 GB, free: 14.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001788/0.4415, allocations: 179.1 kB / 1.361 GB, free: 14.6 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4415, allocations: 4.188 kB / 1.361 GB, free: 14.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000568/0.442, allocations: 119.9 kB / 1.362 GB, free: 14.48 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.001586/0.4436, allocations: 1.269 MB / 1.363 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.4452, allocations: 0.9382 MB / 1.364 GB, free: 12.13 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.4452, allocations: 4 kB / 1.364 GB, free: 12.13 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.4455, allocations: 144.5 kB / 1.364 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/0.4463, allocations: 109.5 kB / 1.364 GB, free: 11.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007447/0.4538, allocations: 5.034 MB / 1.369 GB, free: 6.492 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.454, allocations: 164.8 kB / 1.369 GB, free: 6.309 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002444/0.4542, allocations: 59.25 kB / 1.369 GB, free: 6.254 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.4544, allocations: 111.4 kB / 1.369 GB, free: 6.145 MB / 1.061 GB Notification: Performance of SimCode: time 9.71e-07/0.4544, allocations: 0 / 1.369 GB, free: 6.145 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03991/0.4943, allocations: 11.01 MB / 1.38 GB, free: 11.49 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.39, allocations: 13.72 kB / 1.38 GB, free: 11.48 MB / 1.076 GB " [Timeout remaining time 287] (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: 19.757022531004623]