Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001113/0.001113, allocations: 80.52 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001198/0.001198, allocations: 173.2 kB / 23.24 MB, free: 1.32 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.9837/0.9837, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.827/1.827, allocations: 389.6 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.569e-05, allocations: 5.656 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002065/0.002091, allocations: 1.209 MB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.004198, allocations: 1.711 MB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.004307, allocations: 4 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.523e-05/0.004362, allocations: 27.61 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.004545, allocations: 91.3 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.005691, allocations: 0.6604 MB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.006249, allocations: 0.7641 MB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.006403, allocations: 48.84 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.006757, allocations: 439.3 kB / 1.006 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.007041, allocations: 223.4 kB / 1.006 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.007118, allocations: 72 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.007232, allocations: 80 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.007291, allocations: 79.72 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.007465, allocations: 215.6 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.008066, allocations: 0.7988 MB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.008069, allocations: 0 / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.713e-06/0.00807, allocations: 0 / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.008077, allocations: 0 / 1.007 GB, free: 7.074 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.001075/0.009152, allocations: 0.873 MB / 1.008 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.009206, allocations: 13.34 kB / 1.008 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.009254, allocations: 50.73 kB / 1.008 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.385e-05/0.009348, allocations: 48.75 kB / 1.008 GB, free: 6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007973/0.01014, allocations: 388.3 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.01019, allocations: 32.31 kB / 1.008 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.01026, allocations: 48.36 kB / 1.008 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.01059, allocations: 210.2 kB / 1.009 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.0106, allocations: 4.188 kB / 1.009 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.01062, allocations: 8.359 kB / 1.009 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.01063, allocations: 7.938 kB / 1.009 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.01083, allocations: 127.8 kB / 1.009 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008457/0.01168, allocations: 0.8238 MB / 1.01 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.01211, allocations: 212.1 kB / 1.01 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.01226, allocations: 102.5 kB / 1.01 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.01229, allocations: 4 kB / 1.01 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003853/0.01267, allocations: 297.6 kB / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 1.322e-06/0.01267, allocations: 0 / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0007262/0.0134, allocations: 457 kB / 1.011 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.01346, allocations: 114.8 kB / 1.011 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.01382, allocations: 272.1 kB / 1.011 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.01388, allocations: 49.7 kB / 1.011 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/0.01398, allocations: 153 kB / 1.011 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.01404, allocations: 107.2 kB / 1.011 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.0142, allocations: 154.1 kB / 1.011 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.0143, allocations: 346.8 kB / 1.012 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.01471, allocations: 407 kB / 1.012 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.01525, allocations: 0.7737 MB / 1.013 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.01582, allocations: 0.5711 MB / 1.013 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.01582, allocations: 0 / 1.013 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00107/0.01689, allocations: 1.046 MB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-05/0.01699, allocations: 182.2 kB / 1.015 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.017, allocations: 4 kB / 1.015 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.01702, allocations: 4 kB / 1.015 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01714, allocations: 56.28 kB / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.01715, allocations: 11.94 kB / 1.015 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.01759, allocations: 179.6 kB / 1.015 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/0.01765, allocations: 39.97 kB / 1.015 GB, free: 14.29 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.0001513/0.0178, allocations: 178.3 kB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.01783, allocations: 31.81 kB / 1.015 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.01789, allocations: 37.8 kB / 1.015 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01789, allocations: 4.188 kB / 1.015 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.0179, allocations: 3.938 kB / 1.015 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.0179, allocations: 3.938 kB / 1.015 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000823/0.01873, allocations: 0.8738 MB / 1.016 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.01873, allocations: 0 / 1.016 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.01886, allocations: 47.89 kB / 1.016 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.01887, allocations: 7.938 kB / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.01889, allocations: 8 kB / 1.016 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01889, allocations: 4 kB / 1.016 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01889, allocations: 3.984 kB / 1.016 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007285/0.01962, allocations: 0.7065 MB / 1.017 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.01966, allocations: 35.64 kB / 1.017 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.01969, allocations: 8 kB / 1.017 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.01982, allocations: 20.02 kB / 1.017 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.01988, allocations: 31.89 kB / 1.017 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.0199, allocations: 19.98 kB / 1.017 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001179/0.02002, allocations: 179.1 kB / 1.017 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.02002, allocations: 0 / 1.017 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000341/0.02036, allocations: 108 kB / 1.017 GB, free: 11.92 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.001235/0.0216, allocations: 1.284 MB / 1.018 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008799/0.02248, allocations: 0.9395 MB / 1.019 GB, free: 9.555 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02248, allocations: 0 / 1.019 GB, free: 9.555 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.02267, allocations: 144.5 kB / 1.019 GB, free: 9.414 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.02317, allocations: 113.3 kB / 1.02 GB, free: 9.301 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.02765, allocations: 5 MB / 1.024 GB, free: 3.945 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.02793, allocations: 169 kB / 1.025 GB, free: 3.758 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.02806, allocations: 55.45 kB / 1.025 GB, free: 3.703 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.02817, allocations: 112.5 kB / 1.025 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of SimCode: time 1.232e-06/0.02817, allocations: 0 / 1.025 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08857/0.1167, allocations: 11.5 MB / 1.036 GB, free: 8.41 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/7.881, allocations: 9.359 kB / 1.036 GB, free: 8.406 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.623213048093021]