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.0008156/0.0008156, 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.0009405/0.0009405, 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.8708/0.8708, allocations: 177.2 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.757/1.757, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.982e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001538/0.001558, allocations: 1.197 MB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.003084, allocations: 1.72 MB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.003163, allocations: 4 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.325e-05/0.003206, allocations: 19.69 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.00336, allocations: 95.28 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.004474, allocations: 0.6631 MB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.004992, allocations: 0.7641 MB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.005132, allocations: 52.84 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.005472, allocations: 431.3 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.005729, allocations: 223.4 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.816e-05/0.005807, allocations: 72 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.00592, allocations: 79.98 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.005977, allocations: 75.73 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.006138, allocations: 219.6 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.006911, allocations: 0.8066 MB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.006914, allocations: 0 / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.323e-06/0.006915, allocations: 4 kB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.006922, allocations: 0 / 1.006 GB, free: 6.996 MB / 0.9636 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.0009472/0.007869, allocations: 0.8652 MB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.007915, allocations: 8.75 kB / 1.007 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.007955, allocations: 54.72 kB / 1.007 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.004e-05/0.008045, allocations: 52.75 kB / 1.007 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007625/0.008808, allocations: 392.3 kB / 1.007 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.008835, allocations: 28.38 kB / 1.007 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.008898, allocations: 48.36 kB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.009191, allocations: 214.7 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.0092, allocations: 192 / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.009218, allocations: 12.36 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.009224, allocations: 7.938 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.00942, allocations: 123.8 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007906/0.01021, allocations: 0.8199 MB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.01061, allocations: 220.2 kB / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.01075, allocations: 106.4 kB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.01077, allocations: 4 kB / 1.009 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/0.01114, allocations: 289.6 kB / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.01114, allocations: 0 / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0006748/0.01182, allocations: 459.8 kB / 1.01 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.01187, allocations: 114.7 kB / 1.01 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.01204, allocations: 276.1 kB / 1.01 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.01209, allocations: 45.7 kB / 1.01 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.01218, allocations: 153 kB / 1.01 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.01224, allocations: 107.2 kB / 1.01 GB, free: 2.363 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.0124, allocations: 158.1 kB / 1.01 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.01249, allocations: 338.8 kB / 1.011 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.01288, allocations: 419 kB / 1.011 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/0.01339, allocations: 0.766 MB / 1.012 GB, free: 0.4961 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/0.01417, allocations: 0.5782 MB / 1.012 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01417, allocations: 0 / 1.012 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009738/0.01515, allocations: 1.034 MB / 1.013 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/0.01523, allocations: 186.2 kB / 1.014 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01523, allocations: 4 kB / 1.014 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.01525, allocations: 4.375 kB / 1.014 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.01537, allocations: 59.89 kB / 1.014 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.01538, allocations: 15.88 kB / 1.014 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.01582, allocations: 175.6 kB / 1.014 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.01587, allocations: 43.97 kB / 1.014 GB, free: 14.21 MB / 0.9792 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.0001395/0.01601, allocations: 163.8 kB / 1.014 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.01605, allocations: 35.8 kB / 1.014 GB, free: 14.01 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.01609, allocations: 41.8 kB / 1.014 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.0161, allocations: 4 kB / 1.014 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.0161, allocations: 3.938 kB / 1.014 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01611, allocations: 0 / 1.014 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007991/0.01691, allocations: 0.863 MB / 1.015 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01691, allocations: 4 kB / 1.015 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.01702, allocations: 43.91 kB / 1.015 GB, free: 13 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01703, allocations: 7.938 kB / 1.015 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.01705, allocations: 19.92 kB / 1.015 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.01705, allocations: 4 kB / 1.015 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01705, allocations: 0 / 1.015 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.01773, allocations: 0.7073 MB / 1.016 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.01776, allocations: 39.67 kB / 1.016 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.01778, allocations: 8.188 kB / 1.016 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.01791, allocations: 15.98 kB / 1.016 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.01796, allocations: 35.88 kB / 1.016 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.01798, allocations: 19.98 kB / 1.016 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001108/0.01809, allocations: 179.1 kB / 1.016 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.01809, allocations: 4 kB / 1.016 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003487/0.01844, allocations: 112 kB / 1.016 GB, free: 11.84 MB / 0.9792 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.0009295/0.01937, allocations: 1.276 MB / 1.017 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008322/0.0202, allocations: 0.9431 MB / 1.018 GB, free: 9.48 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0202, allocations: 0 / 1.018 GB, free: 9.48 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.02039, allocations: 144.5 kB / 1.018 GB, free: 9.34 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.02088, allocations: 109.4 kB / 1.019 GB, free: 9.23 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/0.02576, allocations: 5.006 MB / 1.023 GB, free: 3.859 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.02588, allocations: 165 kB / 1.024 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.02605, allocations: 51.27 kB / 1.024 GB, free: 3.625 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.02617, allocations: 116.4 kB / 1.024 GB, free: 3.512 MB / 0.9792 GB Notification: Performance of SimCode: time 1.383e-06/0.02618, allocations: 0 / 1.024 GB, free: 3.512 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.04917, allocations: 11.49 MB / 1.035 GB, free: 8.324 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/6.699, allocations: 3.984 kB / 1.035 GB, free: 8.32 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.730595944449306]