Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 104.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 443.5 MB / 0.7287 GB, free: 14.64 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.89 kB / 1.056 GB, free: 2.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3585, allocations: 160.7 MB / 1.213 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002794/0.3613, allocations: 1.298 MB / 1.214 GB, free: 144 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002551/0.3638, allocations: 1.702 MB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.927e-05/0.3639, allocations: 4 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.72e-05/0.364, allocations: 23.67 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.3642, allocations: 91.34 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.3657, allocations: 0.6536 MB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008533/0.3666, allocations: 0.7486 MB / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.3668, allocations: 56.69 kB / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.3672, allocations: 299.3 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.3676, allocations: 283 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.3677, allocations: 72 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.3679, allocations: 87.92 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.368, allocations: 75.73 kB / 1.218 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.3683, allocations: 263.1 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008048/0.3691, allocations: 0.6855 MB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.3691, allocations: 4 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3691, allocations: 0 / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.3691, allocations: 0 / 1.219 GB, free: 11.11 MB / 0.9669 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.001753/0.3708, allocations: 0.8748 MB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.131e-05/0.3709, allocations: 19.95 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.128e-05/0.371, allocations: 46.73 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.3712, allocations: 48.75 kB / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.3727, allocations: 467.5 kB / 1.221 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.3727, allocations: 32.23 kB / 1.221 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.3729, allocations: 44.38 kB / 1.221 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.3734, allocations: 221.2 kB / 1.221 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3734, allocations: 0 / 1.221 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.3734, allocations: 8 kB / 1.221 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3734, allocations: 4 kB / 1.221 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.3738, allocations: 131.1 kB / 1.221 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3753, allocations: 0.9531 MB / 1.222 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.376, allocations: 220.1 kB / 1.222 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3763, allocations: 102.5 kB / 1.222 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.3763, allocations: 3.984 kB / 1.222 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006362/0.3769, allocations: 285.6 kB / 1.222 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.3769, allocations: 4 kB / 1.222 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001162/0.3781, allocations: 449.2 kB / 1.223 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.3782, allocations: 118.8 kB / 1.223 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.3786, allocations: 263 kB / 1.223 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.261e-05/0.3787, allocations: 49.7 kB / 1.223 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.3789, allocations: 164.9 kB / 1.223 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.379, allocations: 107.2 kB / 1.224 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.3793, allocations: 150 kB / 1.224 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002559/0.3795, allocations: 346.8 kB / 1.224 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.3801, allocations: 224.9 kB / 1.224 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006888/0.3808, allocations: 388.6 kB / 1.225 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000961/0.3817, allocations: 0.5866 MB / 1.225 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.3817, allocations: 4 kB / 1.225 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001634/0.3834, allocations: 0.8427 MB / 1.226 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.3835, allocations: 186.2 kB / 1.226 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3835, allocations: 7.938 kB / 1.226 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3836, allocations: 4 kB / 1.226 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.3838, allocations: 60.2 kB / 1.226 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.3838, allocations: 12 kB / 1.226 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009155/0.3847, allocations: 171.6 kB / 1.226 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.3848, allocations: 47.95 kB / 1.227 GB, free: 3 MB / 0.9669 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.0003377/0.3852, allocations: 167.5 kB / 1.227 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.3853, allocations: 43.75 kB / 1.227 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.73e-05/0.3854, allocations: 37.81 kB / 1.227 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3854, allocations: 11.92 kB / 1.227 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.3854, allocations: 0 / 1.227 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3854, allocations: 0 / 1.227 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.3872, allocations: 0.9196 MB / 1.228 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3872, allocations: 0 / 1.228 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.3874, allocations: 43.91 kB / 1.228 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.3874, allocations: 4 kB / 1.228 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.3875, allocations: 11.98 kB / 1.228 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3875, allocations: 0 / 1.228 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3875, allocations: 4 kB / 1.228 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.3887, allocations: 0.716 MB / 1.228 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3888, allocations: 112.9 kB / 1.229 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.3889, allocations: 8.094 kB / 1.229 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.3891, allocations: 19.98 kB / 1.229 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.3892, allocations: 31.94 kB / 1.229 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.3892, allocations: 16 kB / 1.229 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002076/0.3894, allocations: 182 kB / 1.229 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3894, allocations: 0 / 1.229 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006097/0.3901, allocations: 115.9 kB / 1.229 GB, free: 476 kB / 0.9669 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.001717/0.3918, allocations: 1.28 MB / 1.23 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.3932, allocations: 0.7573 MB / 1.231 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.3932, allocations: 4.188 kB / 1.231 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.3936, allocations: 140 kB / 1.231 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.3944, allocations: 114.3 kB / 1.231 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/0.4015, allocations: 4.27 MB / 1.235 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.402, allocations: 0.7689 MB / 1.236 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000278/0.4023, allocations: 51.27 kB / 1.236 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.4024, allocations: 119.3 kB / 1.236 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of SimCode: time 1.814e-06/0.4024, allocations: 4 kB / 1.236 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03987/0.4423, allocations: 9.944 MB / 1.246 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.839/9.281, allocations: 16.55 kB / 1.246 GB, free: 14.85 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.34797865524888]