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.0007976/0.0007976, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009149/0.0009149, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.8538/0.8538, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 0 / 0.9506 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.332e-05, allocations: 10.22 kB / 0.9506 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002234/0.002258, allocations: 1.212 MB / 0.9518 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.004146, allocations: 1.708 MB / 0.9534 GB, free: 488 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.004262, allocations: 4 kB / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.004313, allocations: 23.62 kB / 0.9535 GB, free: 460 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.004506, allocations: 95.33 kB / 0.9535 GB, free: 364 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.005789, allocations: 0.6547 MB / 0.9542 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007875/0.006577, allocations: 0.7524 MB / 0.9549 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.006746, allocations: 56.89 kB / 0.955 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.007222, allocations: 431.3 kB / 0.9554 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.007538, allocations: 219.4 kB / 0.9556 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-05/0.007625, allocations: 72 kB / 0.9557 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.007751, allocations: 87.92 kB / 0.9557 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.00781, allocations: 79.67 kB / 0.9558 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.00799, allocations: 219.6 kB / 0.956 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009136/0.008904, allocations: 0.8026 MB / 0.9568 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.008908, allocations: 0 / 0.9568 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.154e-06/0.00891, allocations: 3.938 kB / 0.9568 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.008923, allocations: 4 kB / 0.9568 GB, free: 13.01 MB / 0.9167 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.001138/0.01006, allocations: 0.869 MB / 0.9577 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.01011, allocations: 8.031 kB / 0.9577 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.01015, allocations: 50.72 kB / 0.9577 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.01026, allocations: 52.7 kB / 0.9578 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008241/0.01109, allocations: 392.3 kB / 0.9581 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.01112, allocations: 28.38 kB / 0.9582 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/0.0112, allocations: 52.31 kB / 0.9582 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.0115, allocations: 212.7 kB / 0.9584 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01151, allocations: 192 / 0.9584 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.01153, allocations: 12.36 kB / 0.9584 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01153, allocations: 3.938 kB / 0.9584 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.01172, allocations: 119.9 kB / 0.9586 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008765/0.0126, allocations: 0.8237 MB / 0.9594 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.01301, allocations: 216.1 kB / 0.9596 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.01316, allocations: 106.5 kB / 0.9597 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.01318, allocations: 4 kB / 0.9597 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.01358, allocations: 295.2 kB / 0.96 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 1.252e-06/0.01358, allocations: 4 kB / 0.96 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.000697/0.01428, allocations: 453.2 kB / 0.9604 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.01433, allocations: 118.8 kB / 0.9605 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.01451, allocations: 268.1 kB / 0.9608 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.01457, allocations: 45.7 kB / 0.9608 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.01467, allocations: 165 kB / 0.961 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.01472, allocations: 99.17 kB / 0.9611 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.01488, allocations: 154.1 kB / 0.9612 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.01498, allocations: 346.8 kB / 0.9615 GB, free: 7.875 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.01539, allocations: 407 kB / 0.9619 GB, free: 7.441 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.01591, allocations: 0.7738 MB / 0.9627 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/0.01669, allocations: 0.5773 MB / 0.9632 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.0167, allocations: 4 kB / 0.9632 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009873/0.01768, allocations: 1.04 MB / 0.9643 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/0.01776, allocations: 190.2 kB / 0.9644 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.01777, allocations: 0 / 0.9644 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.01779, allocations: 11.98 kB / 0.9645 GB, free: 4.492 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.01791, allocations: 52.28 kB / 0.9645 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.01792, allocations: 7.938 kB / 0.9645 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.01836, allocations: 183.5 kB / 0.9647 GB, free: 4.254 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.01841, allocations: 43.97 kB / 0.9647 GB, free: 4.211 MB / 0.9167 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.0001493/0.01856, allocations: 175.6 kB / 0.9649 GB, free: 4.031 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.01858, allocations: 31.81 kB / 0.9649 GB, free: 4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.01864, allocations: 37.8 kB / 0.965 GB, free: 3.961 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.01864, allocations: 4 kB / 0.965 GB, free: 3.957 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.01865, allocations: 3.938 kB / 0.965 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.01866, allocations: 4 kB / 0.965 GB, free: 3.949 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008335/0.01949, allocations: 0.86 MB / 0.9658 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.0195, allocations: 4 kB / 0.9658 GB, free: 3.027 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.01961, allocations: 43.91 kB / 0.9659 GB, free: 2.984 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.01962, allocations: 3.938 kB / 0.9659 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.01964, allocations: 19.98 kB / 0.9659 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01964, allocations: 0 / 0.9659 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01964, allocations: 0 / 0.9659 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006934/0.02034, allocations: 0.7201 MB / 0.9666 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.02037, allocations: 27.75 kB / 0.9666 GB, free: 2.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.02039, allocations: 8 kB / 0.9666 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.02052, allocations: 15.98 kB / 0.9666 GB, free: 2.172 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.02058, allocations: 39.88 kB / 0.9667 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.0206, allocations: 15.98 kB / 0.9667 GB, free: 2.117 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000111/0.02071, allocations: 179.1 kB / 0.9669 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.02071, allocations: 0 / 0.9669 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003785/0.02109, allocations: 123.9 kB / 0.967 GB, free: 1.824 MB / 0.9167 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.001001/0.02209, allocations: 1.263 MB / 0.9682 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000868/0.02296, allocations: 0.9514 MB / 0.9691 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02296, allocations: 0 / 0.9691 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.02315, allocations: 136.5 kB / 0.9693 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.02365, allocations: 127.8 kB / 0.9694 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/0.02849, allocations: 4.999 MB / 0.9743 GB, free: 9.855 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.02862, allocations: 168.8 kB / 0.9744 GB, free: 9.672 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.02878, allocations: 55.28 kB / 0.9745 GB, free: 9.617 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.02889, allocations: 116.5 kB / 0.9746 GB, free: 9.504 MB / 0.9323 GB Notification: Performance of SimCode: time 1.333e-06/0.02889, allocations: 0 / 0.9746 GB, free: 9.504 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.05878, allocations: 11.49 MB / 0.9858 GB, free: 14.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.117, allocations: 10.19 kB / 0.9858 GB, free: 14.34 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.066213693469763]