Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001793/0.001793, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.00233/0.00233, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.579/1.579, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.072/3.072, allocations: 0.49 GB / 0.7923 GB, free: 1.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_12_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.002241/0.002241, allocations: 71.89 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 176.1 MB / 1.322 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002158/1.112, allocations: 1.299 MB / 1.323 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00181/1.113, allocations: 1.737 MB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/1.114, allocations: 2.781 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.58e-05/1.114, allocations: 23.02 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/1.114, allocations: 90.34 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/1.115, allocations: 0.6539 MB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005608/1.116, allocations: 0.758 MB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/1.116, allocations: 52.62 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/1.116, allocations: 301.2 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003073/1.116, allocations: 275.7 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.99e-05/1.116, allocations: 71.66 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/1.117, allocations: 88.92 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/1.117, allocations: 75.75 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002595/1.117, allocations: 260.5 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006257/1.118, allocations: 0.6963 MB / 1.328 GB, free: 21.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.118, allocations: 4 kB / 1.328 GB, free: 21.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.118, allocations: 1.031 kB / 1.328 GB, free: 21.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.522e-05/1.118, allocations: 0 / 1.328 GB, free: 21.13 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.001425/1.119, allocations: 0.866 MB / 1.329 GB, free: 20.42 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.119, allocations: 13.64 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.008e-05/1.119, allocations: 7.922 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.692e-05/1.119, allocations: 57.45 kB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/1.119, allocations: 48.83 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/1.121, allocations: 459.9 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/1.121, allocations: 33.09 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.121, allocations: 45.67 kB / 1.329 GB, free: 20.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/1.121, allocations: 215.9 kB / 1.329 GB, free: 19.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.121, allocations: 4.812 kB / 1.329 GB, free: 19.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/1.122, allocations: 7.969 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/1.122, allocations: 6.969 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/1.122, allocations: 127.4 kB / 1.33 GB, free: 19.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/1.123, allocations: 0.9518 MB / 1.331 GB, free: 19.22 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/1.124, allocations: 218.3 kB / 1.331 GB, free: 19.1 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/1.124, allocations: 107.4 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/1.124, allocations: 2.984 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006102/1.125, allocations: 296.2 kB / 1.331 GB, free: 18.9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/1.125, allocations: 0 / 1.331 GB, free: 18.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.00128/1.126, allocations: 456.9 kB / 1.332 GB, free: 18.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/1.126, allocations: 113.4 kB / 1.332 GB, free: 18.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/1.126, allocations: 268.3 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/1.127, allocations: 48.58 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/1.127, allocations: 154.7 kB / 1.332 GB, free: 18.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/1.127, allocations: 104.7 kB / 1.332 GB, free: 18.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/1.127, allocations: 157 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/1.127, allocations: 341 kB / 1.333 GB, free: 17.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/1.128, allocations: 225.7 kB / 1.333 GB, free: 17.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/1.129, allocations: 392.5 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/1.129, allocations: 0.5709 MB / 1.334 GB, free: 17.04 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.129, allocations: 5 kB / 1.334 GB, free: 17.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001921/1.131, allocations: 0.8596 MB / 1.335 GB, free: 16.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/1.132, allocations: 191.7 kB / 1.335 GB, free: 16.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.132, allocations: 7.188 kB / 1.335 GB, free: 16.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.335e-05/1.132, allocations: 5.344 kB / 1.335 GB, free: 16.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/1.132, allocations: 49.84 kB / 1.335 GB, free: 16.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/1.132, allocations: 6.531 kB / 1.335 GB, free: 16.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.133, allocations: 177.8 kB / 1.335 GB, free: 16.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/1.133, allocations: 42.69 kB / 1.335 GB, free: 16.35 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.0003023/1.134, allocations: 177.4 kB / 1.335 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/1.134, allocations: 35.83 kB / 1.335 GB, free: 16.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.74e-05/1.134, allocations: 32.64 kB / 1.335 GB, free: 16.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.134, allocations: 4.125 kB / 1.335 GB, free: 16.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.134, allocations: 1.062 kB / 1.335 GB, free: 16.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.134, allocations: 2.625 kB / 1.335 GB, free: 16.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.135, allocations: 0.9351 MB / 1.336 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.135, allocations: 1 kB / 1.336 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/1.136, allocations: 38.53 kB / 1.336 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/1.136, allocations: 2.219 kB / 1.336 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/1.136, allocations: 19.48 kB / 1.336 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.862e-06/1.136, allocations: 7.188 kB / 1.336 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.136, allocations: 1.125 kB / 1.336 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/1.137, allocations: 0.7112 MB / 1.337 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/1.137, allocations: 107.9 kB / 1.337 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/1.137, allocations: 13.52 kB / 1.337 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/1.137, allocations: 15.12 kB / 1.337 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.138, allocations: 33.5 kB / 1.337 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/1.138, allocations: 24.41 kB / 1.337 GB, free: 14.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002227/1.138, allocations: 182.7 kB / 1.337 GB, free: 14.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.138, allocations: 0 / 1.337 GB, free: 14.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008212/1.139, allocations: 114.3 kB / 1.338 GB, free: 14.79 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.001392/1.14, allocations: 1.267 MB / 1.339 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001451/1.141, allocations: 0.7561 MB / 1.339 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.141, allocations: 0 / 1.339 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/1.142, allocations: 141.7 kB / 1.34 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008802/1.143, allocations: 114.9 kB / 1.34 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/1.15, allocations: 4.27 MB / 1.344 GB, free: 10.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/1.15, allocations: 0.7765 MB / 1.345 GB, free: 9.789 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002744/1.15, allocations: 59.42 kB / 1.345 GB, free: 9.766 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/1.15, allocations: 113.3 kB / 1.345 GB, free: 9.691 MB / 1.061 GB Notification: Performance of SimCode: time 7.52e-07/1.15, allocations: 0 / 1.345 GB, free: 9.691 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/1.19, allocations: 9.976 MB / 1.355 GB, free: 8.676 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.957/10.15, allocations: 13.02 kB / 1.355 GB, free: 8.668 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.11205852899002]